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

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

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList

#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