DataGridCheckBoxColumn.

GenerateEditingElementDirect(DataGridCell, object) Method

Summary

Gets a System.Windows.Controls.CheckBox control that is bound to the column's System.Windows.Controls.DataGridBoundColumn.Binding property value.
Namespace
Avalonia.Controls
Containing Type
DataGridCheckBoxColumn

Syntax

protected override IControl GenerateEditingElementDirect(DataGridCell cell, object dataItem)

Parameters

Name Type Description
cell DataGridCell The cell that will contain the generated element.
dataItem object The data item represented by the row that contains the intended cell.

Return Value

Type Description
IControl A new System.Windows.Controls.CheckBox control that is bound to the column's System.Windows.Controls.DataGridBoundColumn.Binding property value.