Skip to main content

TcxListBox.Selected Property

Specifies whether a specific item is selected.

Declaration

property Selected[: Integer]: Boolean read; write;

Property Value

Type
Boolean

Remarks

Use the Selected property to determine whether the specified item is selected. The item is specified by its zero-based index via the Index property. If the specified index is negative or exceeds the maximum available item index, an exception is raised.

You can also select and deselect items using the Selected property. For this purpose, specify the desired item index and assign True or False respectively.

See Also