Skip to main content

TdxTreeCustomNode.CustomSort(TdxCustomTreeNodeCompareProc,Boolean) Method

Custom sorts the node’s children.

Declaration

procedure CustomSort(ACompareProc: TdxCustomTreeNodeCompareProc; ARecurse: Boolean = False);

Parameters

Name Type Description
ACompareProc TdxCustomTreeNodeCompareProc

A custom comparison routine.

ARecurse Boolean

If True, the procedure sorts child nodes at all nesting levels. If False, the procedure sorts only immediate children.

See Also