TdxCustomShellListView.Sort(Integer,Boolean) Method
Sorts content of the Shell List View control against the specified column.
Declaration
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 |
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