Back to Devexpress

TreeListView.NodeChangedCommand Property

wpf-devexpress-dot-xpf-dot-grid-dot-treelistview-12b61146.md

latest1.9 KB
Original Source

TreeListView.NodeChangedCommand Property

Gets or sets a command that is executed when a node’s property changes.

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

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

Property Value

TypeDescription
ICommand<NodeChangedArgs>

A command that is executed when a node’s property changes.

|

Remarks

Bind a command to the NodeChangedCommand property to maintain a clean MVVM pattern. The command works like a NodeChanged event handler and allows you to process node property changes in a View Model.

The GridControl executes a command bound to the NodeChangedCommand property each time a node property changes. Use the NodeChangedArgs.ChangeType property to identify node changes. The NodeChangedArgs.Item property returns the processed data source record.

See Also

Nodes Overview

TreeListView Class

TreeListView Members

DevExpress.Xpf.Grid Namespace