Skip to main content
All docs
V25.1
  • TableView.RowEditStartedCommand Property

    Gets or sets a command that is executed when a user edits a row.

    Namespace: DevExpress.Xpf.Grid

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

    NuGet Package: DevExpress.Wpf.Grid.Core

    Declaration

    public ICommand<RowEditStartedArgs> RowEditStartedCommand { get; set; }

    Property Value

    Type Description
    ICommand<RowEditStartedArgs>

    A command that is executed when a user edits a row.

    Remarks

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

    The following example uses 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

    The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RowEditStartedCommand 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