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

TcxCustomTreeList.GetSelections(TList) Method

Populates AList with selected nodes.

#Declaration

Delphi
function GetSelections(AList: TList): TcxTreeListNode;

#Parameters

Name Type
AList TList

#Returns

Type
TcxTreeListNode

#Remarks

AList is populated with nodes stored in the SelectionList collection, if multiple node selection is allowed (the tree list’s OptionsSelection.MultiSelect option is True). Otherwise, the currently selected node is added to AList.

The method returns the last node in the collection (if multiple node selection is allowed), or the currently selected node (if the multiple selection is not allowed).

See Also