Edit

Share via


DataGridColumn.CancelCellEdit(FrameworkElement, Object) Method

Definition

When overridden in a derived class, causes the column cell being edited to revert to the unedited value.

protected virtual void CancelCellEdit (Windows.UI.Xaml.FrameworkElement editingElement, object uneditedValue);
abstract member CancelCellEdit : Windows.UI.Xaml.FrameworkElement * obj -> unit
override this.CancelCellEdit : Windows.UI.Xaml.FrameworkElement * obj -> unit
Protected Overridable Sub CancelCellEdit (editingElement As FrameworkElement, uneditedValue As Object)

Parameters

editingElement
Windows.UI.Xaml.FrameworkElement

The element that the column displays for a cell in editing mode.

uneditedValue
Object

The previous, unedited value in the cell being edited.

Applies to