TOwnerDataListItem class
List item class used in a list view control when OwnerData (virtual) mode is enabled.
Declaration
TOwnerDataListItem = class(TListItem)Inheritance
- TOwnerDataListItem
- TListItem
- TPersistent
- TObject
Description
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.
See also
Methods
IsOwnerData | protected | Indicates if the virtual list item has an owner collection and allows updates. |
SetDataIndex | public | Sets the index position for the virtual list item and updates the item cache. |
SetOwner | public | Sets the TListItems container which owns the virtual list item. |
Inherited
From TListItem (29)
Assign Caption Checked Create Cut Data Delete Destroy DisplayRect DisplayRectSubItem DropTarget EditCaption Focused GetCheckedInternal GetOwner GetStates ImageIndex Index IsEqual Left ListView MakeVisible Owner Position Selected StateIndex SubItemImages SubItems Top
From TPersistent (6)
AssignTo DefineProperties FPOAttachObserver FPODetachObserver FPONotifyObservers GetNamePath
From TObject (40)
AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
