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

TcxCustomTreeList.Sorted Property

Identifies if columns are sorted.

#Declaration

Delphi
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