Skip to main content
All docs
V25.1
  • TableViewCommands.CancelRowChanges Property

    Discards the edited row’s changes.

    Namespace: DevExpress.Xpf.Grid

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

    NuGet Package: DevExpress.Wpf.Grid.Core

    Declaration

    public ICommand CancelRowChanges { get; }

    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