Back to Devexpress

TdxCustomListView.AlphaSort Method

vcl-dxlistview-dot-tdxcustomlistview-88bdf2b4.md

latest913 B
Original Source

TdxCustomListView.AlphaSort Method

Sorts all items in the List View by their captions.

Declaration

delphi
function AlphaSort: Boolean;

Returns

TypeDescription
Boolean

True if the sort operation is successful; otherwise, False.

|

Remarks

An AlphaSort function call sorts items in groups if the control’s GroupView property is set to True.

You can handle the List View’s OnCompare event to implement a custom item sorting algorithm.

See Also

TdxCustomListView Class

TdxCustomListView Members

dxListView Unit