Skip to main content

GenerateEditingElementDirect Method

Gets a TextBox control that is bound to the column's Binding property value.

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls.DataGrid (in Avalonia.Controls.DataGrid.dll)

protected override Control GenerateEditingElementDirect(
DataGridCell cell,
Object dataItem
)

Parameters

  DataGridCell
The cell that will contain the generated element.
  Object
The data item represented by the row that contains the intended cell.

Return Value

Control
A new TextBox control that is bound to the column's Binding property value.

See Also

Reference

DataGridTextColumn Class
Avalonia.Controls Namespace