Skip to main content
All docs
V24.1

TableView.RowEditFinishedCommand Property

Gets or sets a command that is executed when a user finished the edit operation in a row.

Namespace: DevExpress.Xpf.Grid

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

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public ICommand<RowEditFinishedArgs> RowEditFinishedCommand { get; set; }

Property Value

Type Description
ICommand<RowEditFinishedArgs>

A command that is executed when a user finished the edit operation in a row.

Remarks

Bind a command to the RowEditFinishedCommand property to maintain a clean MVVM pattern. The command works like a RowEditFinished event handler and allows you to process the finish of the edit operation in a View Model.

The following example uses the RowEditStartedCommand and RowEditFinishedCommand to pause data updates in the Edit Form:

View Example: Data Grid for WPF - How to Pause Data Updates in the Edit Form

Use the Success property to identify whether a user committed, canceled, or did not makes changes in the row.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RowEditFinishedCommand property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also