Skip to main content
A newer version of this page is available. .
All docs
V20.2

TreeViewControl.MovePrevNode() Method

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

Namespace: DevExpress.Xpf.Grid

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Grid.Core, 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