TcxCustomTreeList.GetSelections(TList) Method
Populates AList with selected nodes.
Declaration
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