DataGridColumn.CancelCellEdit(FrameworkElement, Object) メソッド

定義

編集中のセルの値を、元 (編集前) の値に戻します。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)

パラメーター

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.

適用対象