Skip to main content
A newer version of this page is available. .

TcxCustomListView.Items Property

Contains the list of items displayed in a list view.

Declaration

property Items: TListItems read; write;

Property Value

Type
TListItems

Remarks

The Items property contains the elements that are displayed within the list view. To edit Items at design-time press the ellipsis button beside the Items property in the Object Inspector:

This invokes the Items editor allowing you to add, edit, remove and configure the arrangement of the items that are displayed in the list view:

You can define items and sub items. Sub items appear in the secondary columns when the vsReport ViewStyle is selected. The following screenshot demonstrates the list view control with the Items structure, designed as demonstrated on the previous image:

In addition to the Caption property, which specified the item’s text label, you can configure the ImageIndex and StateIndex properties that specify the images assigned to the items. Please refer to the VCL reference for complete description of these properties.

See Also