DataGridColumnGenerateEditingElement Method

When overridden in a derived class, gets an editing 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 GenerateEditingElement(
	DataGridCell cell,
	Object dataItem,
	out ICellEditBinding binding
)

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.
binding  ICellEditBinding
When the method returns, contains the applied binding.

Return Value

Control
A new editing element that is bound to the column's Binding property value.

See Also