DataGridColumnGenerateElement Method

When overridden in a derived class, gets a read-only element 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 abstract 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 element that is bound to the column's Binding property value.

See Also