TListColumn class
Represents an individual column in a multi-column list control.
Declaration
TListColumn = class(TCollectionItem)Inheritance
- TListColumn
- TCollectionItem
- TPersistent
- TObject
Descends from it: TShellListColumn
Description
TListColumn is a
TCollectionItem descendant which
represents an individual column in a multi-column list control.
TListColumn is the type used for items added to the TListColumns
collection, and maintained in the TCustomListView.Columns property.
See also
Properties
WidthType | public | Not used in LCL. |
Alignment | published | Sets the horizontal alignment for the text displayed in the column. |
AutoSize | published | Resizes the column to the width needed for the list view Items or SubItems displayed in the column. |
Caption | published | Caption text (heading) for the column. |
ImageIndex | published | Ordinal position for the image displayed for the column. |
MaxWidth | published | Maximum width for the column in pixels. |
MinWidth | published | Minimum width for the column in pixels. |
Tag | published | Arbitrary Integer value with information about the column. |
Visible | published | Indicates whether the column is visible on its list view control. |
Width | published | Width for the column on a list view control. |
SortIndicator | published | Specifies the sort indicator displayed for the column. |
Methods
SetIndex | protected | Sets the value for the Index property. |
GetDisplayName | protected | Gets the value for the DisplayName property. |
GetStoredWidth | protected | Gets the value for Width as included in LCL component streaming. |
Create | public | Constructor for the class instance. |
Destroy | public | Destructor for the class instance. |
Assign | public | Copies properties from the specified persistent object to the current class instance. |
Inherited
From TCollectionItem (9)
Changed Collection DisplayName GetNamePath GetOwner ID Index SetCollection SetDisplayName
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.
