Skip to main content

TcxCustomCheckListBox.Sorted Property

Specifies whether list items are sorted alphabetically.

Declaration

property Sorted: Boolean read; write; default False;

Property Value

Type Default
Boolean False

Remarks

Set this property to True to sort items in alphabetical order. 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, items added will not then be automatically placed into positions to preserve the sort order.

To customize the sort order, handle the OnCompare event.

See Also