Skip to main content

TcxListBox.Items Property

Specifies the list of strings that represent item captions.

Declaration

property Items: TStrings read; write;

Property Value

Type
TStrings

Remarks

The list box control can operate in two modes: standard and virtual. This is specified by the ListStyle property value. If working in standard mode, the number of strings in the Items property exactly specifies the number of items in the list box. These strings represent the captions of items.

When the list box control is switched to virtual mode, the Items string list is cleared. The number of items in the list is specified by the Count property in this case. Captions are supplied to items by handling the OnData event.

See Also