Back to Devexpress

TreeList.MoveLast() Method

windowsforms-devexpress-dot-xtratreelist-dot-treelist-d13e9ccc.md

latest1.8 KB
Original Source

TreeList.MoveLast() Method

Moves focus to the last node within the current TreeList.

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

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

Returns

TypeDescription
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

MoveLastVisible()

MoveFirst()

TreeList Class

TreeList Members

DevExpress.XtraTreeList Namespace