Back to Devexpress

TreeList.MoveToParent() Method

windowsforms-devexpress-dot-xtratreelist-dot-treelist-2863a1e5.md

latest1.7 KB
Original Source

TreeList.MoveToParent() Method

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

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

csharp
public virtual TreeListNode MoveToParent()
vb
Public Overridable Function MoveToParent As TreeListNode

Returns

TypeDescription
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

ParentNode

FocusedNode

SetFocusedNode

TreeList Class

TreeList Members

DevExpress.XtraTreeList Namespace