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.MoveNextNode() Method

In This Article

Moves focus to the node that follows the one currently focused.

Namespace: DevExpress.Xpf.Grid

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

NuGet Package: DevExpress.Wpf.Grid.Core

#Declaration

public void MoveNextNode()

#Remarks

You can use the following TreeViewControl methods to move the node focus:

Method Description
MoveFirstNode Moves focus to the first visible node.
MoveNextPage Moves focus forward by the number of nodes displayed onscreen.
MoveNextNode Moves focus to the node that follows the one currently focused.
MovePrevNode Moves focus to the node that precedes the one currently focused.
MovePrevPage Moves focus backward by the number of nodes displayed onscreen.
MoveLastNode Moves focus to the last visible node.

You cannot use these methods to focus hidden nodes or expand collapsed nodes.

See Also