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

TdxCustomShellListView.Sort(Integer,Boolean) Method

Sorts content of the Shell List View control against the specified column.

#Declaration

Delphi
procedure Sort(AColumnIndex: Integer; AIsAscending: Boolean); overload;

#Parameters

Name Type Description
AColumnIndex Integer

The index of the target column against which the sort operation is performed.

AIsAscending Boolean

If True, the procedure sorts the control’s content in ascending order. If False, the content is sorted in descending order.

#Remarks

Call the Sort procedure to sort displayed shell items. A Sort procedure call raises the OnCompare event multiple times, once for every two shell items. You can handle this event to sort shell items in a custom manner. The OnSortCompleted event occurs once the sort operation is complete.

See Also