DataGridColumn.CancelCellEdit(FrameworkElement, Object) DataGridColumn.CancelCellEdit(FrameworkElement, Object) DataGridColumn.CancelCellEdit(FrameworkElement, Object) DataGridColumn.CancelCellEdit(FrameworkElement, Object) Method

定義

造成正在編輯的儲存格還原成原始、未編輯的值。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 FrameworkElement FrameworkElement FrameworkElement

資料行針對處於編輯模式之儲存格所顯示的項目。The element that the column displays for a cell in editing mode.

uneditedValue
Object Object Object Object

正在編輯之儲存格內原始未編輯的值。The original, unedited value in the cell being edited.

適用於