FMX.TreeView.TTreeView.Sorted

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Sorted: Boolean read FSorted write SetSorted default 0;

C++

__property Sorted = {default=0};

Properties

Type Visibility Source Unit Parent
property published
FMX.TreeView.pas
FMX.TreeView.hpp
FMX.TreeView TTreeView

Description

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

FMX.TreeView.TTreeView.Sorted inherits from FMX.TreeView.TCustomTreeView.Sorted. All content below this line refers to FMX.TreeView.TCustomTreeView.Sorted.

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