Skip to main content

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)

protected virtual void CancelCellEdit(
Control editingElement,
Object uneditedValue
)

Parameters​

  Control
The element that the column displays for a cell in editing mode.
  Object
The previous, unedited value in the cell being edited.

See Also​

Reference​

DataGridColumn Class
Avalonia.Controls Namespace