All docs
V20.1
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

TableViewCommands.CancelRowChanges Property

Discards the edited row's changes.

Namespace: DevExpress.Xpf.Grid

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

Declaration

public ICommand CancelRowChanges { get; }
Public ReadOnly Property CancelRowChanges As ICommand

Property Value

Type Description
ICommand

A command that discards the edited row's changes.

Remarks

TIP

Corresponding Method: TableView.CancelRowChanges()

Click the Update button to post the edited row's changes to the datasource. Alternatively, you can call the TableView.UpdateRow / TreeListView.UpdateRow method or the TableViewCommands.UpdateRow / TreeListViewCommands.UpdateRow command.

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

TIP

Topic: Edit Entire Row

See Also