DataGridCheckBoxColumn.

GenerateElement(DataGridCell, object) Method

Summary

Gets a read-only 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 GenerateElement(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, read-only System.Windows.Controls.CheckBox control that is bound to the column's System.Windows.Controls.DataGridBoundColumn.Binding property value.