Skip to main content

GenerateEditingElement 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)

protected abstract Control GenerateEditingElement(
DataGridCell cell,
Object dataItem,
out ICellEditBinding binding
)

Parameters​

  DataGridCell
The cell that will contain the generated element.
  Object
The data item represented by the row that contains the intended cell.
  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​

Reference​

DataGridColumn Class
Avalonia.Controls Namespace