Skip to main content

TreeList.MoveLast() Method

Moves focus to the last node within the current TreeList.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v23.2.dll

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

Declaration

public virtual TreeListNode MoveLast()

Returns

Type Description
TreeListNode

A TreeList object representing the focused node.

Remarks

This method moves focus to the last node within the current TreeList disregarding its visibility. It means that if the required node is a child node of a specific collapsed node, then the node containing the required one will be expanded. This method is contrary to the TreeList.MoveLastVisible method which moves focus to the last visible node.

See Also