Skip to main content

TcxListBox.Sorted Property

Specifies whether list items are alphabetically sorted.

Declaration

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