Skip to main content

PrepareCellForEdit Method

Called when a cell in the column enters editing mode.

Definition​

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

protected override Object PrepareCellForEdit(
Control editingElement,
RoutedEventArgs editingEventArgs
)

Parameters​

  Control
The element that the column displays for a cell in editing mode.
  RoutedEventArgs
Information about the user gesture that is causing a cell to enter editing mode.

Return Value​

Object
The unedited value.

See Also​

Reference​

DataGridCheckBoxColumn Class
Avalonia.Controls Namespace