GenerateEditingElementDirect Method
Gets a CheckBox control that is bound to the column's Binding property value.
Definition
Namespace: Avalonia.Controls
Assembly: Avalonia.Controls.DataGrid (in Avalonia.Controls.DataGrid.dll)
- C#
- VB
- F#
protected override Control GenerateEditingElementDirect(
DataGridCell cell,
Object dataItem
)
Protected Overrides Function GenerateEditingElementDirect (
cell As DataGridCell,
dataItem As Object
) As Control
abstract GenerateEditingElementDirect :
cell : DataGridCell *
dataItem : Object -> Control
override GenerateEditingElementDirect :
cell : DataGridCell *
dataItem : Object -> Control
Parameters
- DataGridCell
- The cell that will contain the generated element.
- Object
- The data item represented by the row that contains the intended cell.
Return Value
Control
A new CheckBox control that is bound to the column's Binding property value.