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

TcxCustomShellListView.Sorting Property

Specifies whether end-users can sort the shell list view’s content by clicking column headers.

#Declaration

Delphi
property Sorting: Boolean read; write; default False;

#Property Value

Type Default
Boolean False

#Remarks

Set this property to True to let end-users click a column’s header to sort the shell list view contents by the column’s values (folder and file objects are sorted separately).

Shell Item Sorting

The sort glyph indicates which column provides values for sorting and its sort order (ascending or descending). Clicking the column’s header again reverses the sort order.

You can handle the OnCompare event to provide custom sorting logic.

Note

The Sorting property is in effect only if the ViewStyle and ShowColumnHeaders properties are set to vsReport and True, respectively.

The current version supports sorting by one column only. To clear sorting, set the Sorting property to False.

The Sorting property’s default value is False.

See Also