Redigera

Dela via


DataGridColumn.CancelCellEdit(FrameworkElement, Object) Method

Definition

Causes the cell being edited to revert to the original, unedited value.

protected:
 virtual void CancelCellEdit(System::Windows::FrameworkElement ^ editingElement, System::Object ^ uneditedValue);
protected virtual void CancelCellEdit (System.Windows.FrameworkElement editingElement, object uneditedValue);
abstract member CancelCellEdit : System.Windows.FrameworkElement * obj -> unit
override this.CancelCellEdit : System.Windows.FrameworkElement * obj -> unit
Protected Overridable 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 original, unedited value in the cell being edited.

Applies to