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

# TOwnerDataListItems

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

Container for the items in a list view control when owner data (virtual) mode is enabled.

## Declaration

Source position: comctrls.pp line 1193

`type TOwnerDataListItems = class(TListItems)`
`protected`
`function GetCount; override;` |  | Gets the value for the Count property.
`procedure SetCount(); override;` |  | Sets the value for the Count property.
`function GetItem(); override;` |  | Gets the value for the indexed Item property.
`public`
`procedure Clear; override;` |  | Frees and Nils the list items stored in the container.
`end;`

## Inheritance

`TOwnerDataListItems` |  | Container for the items in a list view control when owner data (virtual) mode is enabled.
`TListItems` |  | Implements a container for list items on a list view control.
`TPersistent`
?
`TObject`

## Description

Only the most recent list item is actually populated in the list view control when owner data is enabled.