Enables or disables owner data (virtual) mode for the list view control.
Source position: comctrls.pp line 1652
public property TCustomListView.OwnerData : Boolean |
OwnerData is a Boolean property which enables or disables virtual mode for the list view control.
When set to True, the Items property does not contain the actual data displayed on the control. The display values are retrieved using the OnData, OnDataFind, and OnDataHint event handlers. Only the most recently accessed owner data item exists in the list view control. This allows the list view to be used to display a large number of items with a minimal amount of overhead.
Set the value for the Count property in Items to indicate the number of owner data items available to the list view control. Assign a routine to OnData to populate an individual list item (and sub-items if needed) from the source for the owner data.
When OwnerData is set to False, all values displayed on the list view control are maintained in the Items property.
|
Collection of list items displayed on the list view control. |
|
|
Event handler signalled to the value(s) for a list item when OwnerData (virtual mode) has been enabled. |
|
|
Event handler signalled to locate list item data in OwnerData (virtual) mode. |
|
|
The event handler is not signalled in the current LCL implementation. |
|
|
Count - the number of items in the collection. |