Back to Devexpress

TreeListView.NodeEditStartedCommand Property

wpf-devexpress-dot-xpf-dot-grid-dot-treelistview-bd0f351a.md

latest2.1 KB
Original Source

TreeListView.NodeEditStartedCommand Property

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

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

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

Property Value

TypeDescription
ICommand<NodeEditStartedArgs>

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

|

Remarks

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

You can use 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

See Also

NodeEditStarted

NodeEditStartingCommand

NodeEditFinishedCommand

TreeListView Class

TreeListView Members

DevExpress.Xpf.Grid Namespace