Skip to main content

PrepareCellForEdit Method

When overridden in a derived class, called when a cell in the column enters editing mode.

Definition

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

protected abstract Object PrepareCellForEdit(
Control editingElement,
RoutedEventArgs editingEventArgs
)
View Source

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

DataGridColumn Class
Avalonia.Controls Namespace