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

TdxTreeViewNode.CustomSort(TdxTreeViewNodeCompareProc,TdxNativeInt,Boolean) Method

Custom sorts the node’s children.

#Declaration

Delphi
function CustomSort(ACompareProc: TdxTreeViewNodeCompareProc; AData: TdxNativeInt; ARecurse: Boolean = False): Boolean;

#Parameters

Name Type Description
ACompareProc TdxTreeViewNodeCompareProc

A custom comparison routine.

AData TdxNativeInt

Specifies a pointer to additional data for the custom comparison routine.

ARecurse Boolean

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

#Returns

Type Description
Boolean

True if the function call successfully sorted tree nodes; otherwise, False.

See Also