Skip to main content
All docs
V23.2

TreeViewControl.CurrentNodeChanged Event

Occurs after the focused node has been changed.

Namespace: DevExpress.Xpf.Grid

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

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public event CurrentNodeChangedEventHandler CurrentNodeChanged

Event Data

The CurrentNodeChanged event's data class is DevExpress.Xpf.Grid.TreeList.CurrentNodeChangedEventArgs.

Remarks

The TreeViewControl raises the CurrentNodeChanged event after the node focus moves to another node. When you change the sort order, the TreeViewControl reorders nodes, but keeps the focused node and does not raise the CurrentNodeChanged event.

Use the CurrentNode property to get or set the focused node.

See Also