Back to Devexpress

TreeListView.CancelRowChanges() Method

wpf-devexpress-dot-xpf-dot-grid-dot-treelistview-06ea4de1.md

latest1.9 KB
Original Source

TreeListView.CancelRowChanges() Method

Discards the edited row’s changes.

Namespace : DevExpress.Xpf.Grid

Assembly : DevExpress.Xpf.Grid.v25.2.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public void CancelRowChanges()
vb
Public Sub CancelRowChanges

Remarks

Tip

Corresponding Command : TreeListViewCommands.CancelRowChanges

Click the Update button to post the edited row’s changes to the data source. Alternatively, you can call the TreeListView.UpdateRow method or the TreeListViewCommands.UpdateRow command.

Click the Cancel button to discard the edited row’s changes. Alternatively, you can call the TreeListView.CancelRowChanges method or the TreeListViewCommands.CancelRowChanges command.

Tip

The CancelRowChanges method works only in Edit Entire Row mode. For the default edit mode, you can use the DataViewBase.CancelRowEdit method.

See Also

CanCancelRowChanges()

TreeListView Class

TreeListView Members

DevExpress.Xpf.Grid Namespace