[Overview][Constants][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
List item class used in a list view control when OwnerData (virtual) mode is enabled.
Source position: comctrls.pp line 1089
type TOwnerDataListItem = class(TListItem) |
||
protected |
||
function IsOwnerData; override; |
|
Indicates if the virtual list item has an owner collection and allows updates. |
public |
||
procedure SetDataIndex(); |
|
Sets the index position for the virtual list item and updates the item cache. |
procedure SetOwner(); |
|
Sets the TListItems container which owns the virtual list item. |
end; |
|
List item class used in a list view control when OwnerData (virtual) mode is enabled. |
|
| | ||
|
Represents the items created in TCustomListView and descendants. |
|
| | ||
| | ||
TOwnerDataListItem is a TListItem descendant which implements a list item used for a list view control in virtual mode. It is the singleton with the currently selected list item when the list view control has enabled its OwnerData property.
TOwnerDataListItem provides overridden methods which allow the list item to be maintained in an item cache instead of the Items collection for the list view control. The class instance is, however, still owned by the TListItems collection in the list view control.
An internal TOwnerDataListItem instance is allocated in the TCustomListView constructor for use in the control.
|
Enables or disables owner data (virtual) mode for the list view control. |
|
|
Collection of list items displayed on the list view control. |
|
|
Implements a container for list items on a list view control. |
|
|
Implements a container for list items on a list view control. |
Version 3.2 | Generated 2024-02-25 | Home |