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

TreeViewControl.CurrentNodeChanged Event

Occurs after the focused node has been changed.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v24.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