FMX.TreeView.TCustomTreeView.Sorted

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Sorted: Boolean read FSorted write SetSorted default False;

C++

__property bool Sorted = {read=FSorted, write=SetSorted, default=0};

Properties

Type Visibility Source Unit Parent
property public
FMX.TreeView.pas
FMX.TreeView.hpp
FMX.TreeView TCustomTreeView

Description

Determines whether the tree items in this tree view are alphabetically sorted or not.

Set Sorted to True to enable alphabetic sorting of all the items in this tree view. Setting Sorted to False allows items to be in any order.

The default value for the Sorted property is False.

Tip: If an OnCompare event handler is not provided, tree view nodes are sorted alphabetically, based on their labels.

See Also