[Overview][Types][Classes][Procedures and functions][Index] | Reference for unit 'ComboEx' (#lcl)

# TListControlItem

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Implements a collection item added to a list control.

## Declaration

Source position: comboex.pas line 57

`type TListControlItem = class(TCollectionItem)`
`public`
`property Data: TCustomData; [rw]` |  | Pointer to the data used in custom sort operations.
`constructor Create(); override;` |  | Constructor for the class instance.
`published`
`property Caption: TTranslateString; [rw]` |  | Text displayed for the collection item.
`property ImageIndex: TImageIndex; [rw]` |  | Ordinal position for the image displayed for the collection item.
`end;`

## Inheritance

`TListControlItem` |  | Implements a collection item added to a list control.
`TCollectionItem`
?
`TObject`

## Description

TListControlItem is a TCollectionItem descendant which implements the base type for list items used in TComboBoxEx. It is used as the ancestor for TComboExItem. TListControlItem is the type maintained in the TListControlItems collection.

TListControlItem provides properties needed to represent an item displayed in a list control, including:

- Caption
- Data
- ImageIndex

Applications and libraries do no normally create instances of this class; use the TComboExItem descendant.

## See also

TListControlItems |  | Container for the items added to a list control.
TComboExItem |  | Implements an extended item used in TComboEx.
TCustomComboBoxEx.ItemsEx |  | Collection with the extended items defined for the control.
TComboBoxEx.ItemsEx |  | Collection with the extended items defined for the control.