Back to Devexpress

TreeListView.NodeChanged Event

wpf-devexpress-dot-xpf-dot-grid-dot-treelistview-5d03203e.md

latest2.1 KB
Original Source

TreeListView.NodeChanged Event

Occurs 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 event TreeListNodeChangedEventHandler NodeChanged
vb
Public Event NodeChanged As TreeListNodeChangedEventHandler

Event Data

The NodeChanged event's data class is TreeListNodeChangedEventArgs. The following properties provide information specific to this event:

PropertyDescription
ChangeTypeGets the way in which the node has changed.
NodeGets the changed node.

Remarks

The GridControl raises the NodeChanged event each time a node property changes. Use the TreeListNodeChangedEventArgs.ChangeType property to identify node changes. The TreeListNodeChangedEventArgs.Node property returns the processed node.

If you want to maintain a clean MVVM pattern and process node property changes in a View Model, create a command and bind it to the NodeChangedCommand property.

See Also

Nodes Overview

TreeListView Class

TreeListView Members

DevExpress.Xpf.Grid Namespace