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)
- C#
- VB
- F#
protected abstract Control GenerateEditingElement(
DataGridCell cell,
Object dataItem,
out ICellEditBinding binding
)
Protected MustOverride Function GenerateEditingElement (
cell As DataGridCell,
dataItem As Object,
<OutAttribute> ByRef binding As ICellEditBinding
) As Control
abstract GenerateEditingElement :
cell : DataGridCell *
dataItem : Object *
binding : ICellEditBinding byref -> Control
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.