Skip to main content

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.MoveLast() Method

Moves focus to the last node within the current TreeList.

Namespace: DevExpress.XtraTreeList

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