Back to Devexpress

TreeListView.NodeEditFinishedCommand Property

wpf-devexpress-dot-xpf-dot-grid-dot-treelistview-0102ba67.md

latest2.3 KB
Original Source

TreeListView.NodeEditFinishedCommand Property

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

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public ICommand<NodeEditFinishedArgs> NodeEditFinishedCommand { get; set; }
vb
Public Property NodeEditFinishedCommand As ICommand(Of NodeEditFinishedArgs)

Property Value

TypeDescription
ICommand<NodeEditFinishedArgs>

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

|

Remarks

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

You can use the NodeEditStartedCommand and NodeEditFinishedCommand 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.

See Also

NodeEditFinished

NodeEditStartingCommand

NodeEditStartedCommand

TreeListView Class

TreeListView Members

DevExpress.Xpf.Grid Namespace