Skip to main content

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.v24.2.Core.dll

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public void 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