DataGridTextColumn.CancelCellEdit(FrameworkElement, Object) Method

Definition

Causes the column cell being edited to revert to the specified value.

protected:
 override void CancelCellEdit(System::Windows::FrameworkElement ^ editingElement, System::Object ^ uneditedValue);
protected override void CancelCellEdit (System.Windows.FrameworkElement editingElement, object uneditedValue);
override this.CancelCellEdit : System.Windows.FrameworkElement * obj -> unit
Protected Overrides Sub CancelCellEdit (editingElement As FrameworkElement, uneditedValue As Object)

Parameters

editingElement
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