Skip to main content
Table of Contents

TTMSFNCTreeViewColumn.Sort Method

Sorts tree nodes by this column's cell text.

API unit family: TMSFNCTreeViewData Declaring type: TTMSFNCTreeViewColumn

Syntax

FMX.TMSFNCTreeViewData.hppPascalC++
procedure Sort(ARecurse: Boolean = False; ACaseSensitive: Boolean = True; ASortingMode: TTMSFNCTreeViewNodesSortMode = nsmAscending); virtual;
virtual void __fastcall Sort(bool ARecurse = false, bool ACaseSensitive = true, TTMSFNCTreeViewNodesSortMode ASortingMode = (TTMSFNCTreeViewNodesSortMode)(0x0));

Parameters

Name Description
ARecurse True sorts all descendants recursively; False sorts only direct children.
ACaseSensitive True uses case-sensitive comparison; False is case-insensitive.
ASortingMode Direction in which nodes are sorted.