Skip to main content
All docs
V24.2

TreeList.MoveToParent() Method

Moves the node focus to the parent node of the currently focused node.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

Declaration

public virtual TreeListNode MoveToParent()

Returns

Type Description
TreeListNode

The parent node. null (Nothing in Visual Basic) if the currently focused node is the root node.

Remarks

Read the following topic to learn more: Focus and Navigation.

See Also