Skip to main content

TcxCustomTreeList.Sorted Property

Identifies if columns are sorted.

Declaration

property Sorted: Boolean read; write;

Property Value

Type
Boolean

Remarks

The property returns True, if at least one column is sorted. To clear sorting in all columns, set the Sorted property to False. Alternatively, you can use the ClearSorting method for this purpose.

However, no sorting is applied if the Sorted property is set to True. For this purpose, use the column’s SortOrder property instead.

To clear sorting in a particular column, set the column’s SortOrder property to soNone.

The total number of sorted columns can be obtained using the SortedColumnCount property.

For indexed access to sorted columns, use the SortedColumns property.

See Also