TListColumns class
A collection for TListColumn instances defined for a multi-column list view control.
Declaration
TListColumns = class(TCollection)Inheritance
- TListColumns
- TCollection
- TPersistent
- TObject
Descends from it: TShellListColumns
Description
TListColumns is a
TCollection descendant which
implements a container for column definitions on a list view control. It
provides properties and methods used to create, access, and maintain the
TListColumn instances in its Items property.
Use methods like Add, Insert, Clear, Delete, and Move to maintain the column definitions in the collection.
TListColumns is the type used to implement the Columns property in TCustomListView.
See also
Properties
Owner | public | Owner of the collection instance. |
Items | public | Provides indexed access to the items in the column collection. |
Methods
GetOwner | protected | Gets the owner of the persistent object. |
Create | public | Constructor for the class instance. |
Destroy | public | Destructor for the class instance. |
Add | public | Creates and returns a new TListColumn instance for the collection. |
Assign | public | Adds column definitions in Source to the current class instance. |
Update | public | Checks whether the collection update is actually need and calls the inherited method. |
Inherited
From TCollection (24)
BeginUpdate Changed Clear Count Delete EndUpdate Exchange FindItemID GetAttr GetAttrCount GetEnumerator GetItem GetItemAttr GetNamePath Insert ItemClass Move Notify PropName SetItem SetItemName SetPropName Sort UpdateCount
From TPersistent (5)
AssignTo DefineProperties FPOAttachObserver FPODetachObserver FPONotifyObservers
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.
