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

TOwnerDataListItems

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

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

Declaration

Source position: comctrls.pp line 1182

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 the list items stored in the Items property.

end;

Inheritance

TOwnerDataListItems

  

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

|

TListItems

  

TListItems - a list of items with a cache of the last accessed item.

|

TPersistent

?

TObject

Description

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