Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.dll

NuGet Package: DevExpress.Wpf.Grid.Core

#Declaration

public ICommand<NodeChangedArgs> NodeChangedCommand { get; set; }

#Property Value

Type Description
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