CancelCellEdit Method
When overridden in a derived class, causes the column cell being edited to revert to the unedited value.
Definition
Namespace: Avalonia.Controls
Assembly: Avalonia.Controls.DataGrid (in Avalonia.Controls.DataGrid.dll)
- C#
- VB
- F#
protected virtual void CancelCellEdit(
Control editingElement,
Object uneditedValue
)
Protected Overridable Sub CancelCellEdit (
editingElement As Control,
uneditedValue As Object
)
abstract CancelCellEdit :
editingElement : Control *
uneditedValue : Object -> unit
override CancelCellEdit :
editingElement : Control *
uneditedValue : Object -> unit
Parameters
- Control
- The element that the column displays for a cell in editing mode.
- Object
- The previous, unedited value in the cell being edited.