DataViewBase.CancelRowEdit() Method

Closes the active editor without saving the value to the corresponding property of the data item.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v20.1.Core.dll

Declaration

public void CancelRowEdit()
Public Sub CancelRowEdit

Remarks

The GridControl does not store previous values of the currently edited data item. The CancelRowEdit method allows you to discard changes while the editor is still active. Thus method does not discard changes that were already accepted and passed to the data item.

If the data item class implements the IEditableObject interface, the CancelRowEdit method calls the corresponding CancelEdit method.

See Also