Skip to main content
All docs
V24.1

TreeViewControl.MovePrevNode() Method

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

Namespace: DevExpress.Xpf.Grid

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

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public void MovePrevNode()

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