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

TcxListBox.Sorted Property

Specifies whether list items are alphabetically sorted.

#Declaration

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

#Property Value

Type Default
Boolean False

#Remarks

Use the Sorted property to sort items in the alphabetical order. Set this property to True and items will be rearranged in alphabetical order within the list. When adding items, they are automatically inserted into appropriate positions to preserve the sort order.

Setting the Sorted property to False does not revert the order however added items will not be automatically placed into positions that preserve the sort order.

Note

the Sorted property is not in effect when the list box control operates in virtual mode. The current operation mode is specified by the ListStyle property.

See Also