Skip to main content
All docs
V25.1
  • TreeList.MoveToParent() Method

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

    Namespace: DevExpress.XtraTreeList

    Assembly: DevExpress.XtraTreeList.v25.1.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