DataGridCheckBoxColumnGenerateElement Method

Gets a read-only 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) Version: 11.3.999
protected override Control GenerateElement(
	DataGridCell cell,
	Object dataItem
)

Parameters

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

Control
A new, read-only CheckBox control that is bound to the column's Binding property value.

See Also