PrepareCellForEdit Method
Called when the cell in the column enters editing mode.
Definition
Namespace: Avalonia.Controls
Assembly: Avalonia.Controls.DataGrid (in Avalonia.Controls.DataGrid.dll)
- C#
- VB
- F#
protected override Object PrepareCellForEdit(
Control editingElement,
RoutedEventArgs editingEventArgs
)
Protected Overrides Function PrepareCellForEdit (
editingElement As Control,
editingEventArgs As RoutedEventArgs
) As Object
abstract PrepareCellForEdit :
editingElement : Control *
editingEventArgs : RoutedEventArgs -> Object
override PrepareCellForEdit :
editingElement : Control *
editingEventArgs : RoutedEventArgs -> Object
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.