Sign in Join
FPDoc Onlineexperiment

TShellListColumn class

In unit ShellCtrls

Defines a column displayed on a shell list view control.

Declaration

pascal
TShellListColumn = class(TListColumn)

Inheritance

  1. TShellListColumn
  2. TListColumn
  3. TCollectionItem
  4. TPersistent
  5. TObject

Description

TShellListColumn is a TListColumn descendant which represents a column defined for a TCustomShellListView / TShellListView control. TShellListColumn identifies the file system information displayed in a given column on the control, and any formatting needed for the values displayed in list view items.

TShellListColumn is the type stored in the TShellListColumns collection, and used to implement the Columns property in TCustomShellListView / TShellListView. Values in the class instance can be assigned at design-time using the property editor registered for the TShellListColumns type.

See also

Properties

ColumnIDpublishedColumn identifier which determines the file system information displayed in the column for each of the list items on the control.
CustomIDpublishedIdentifier used for a column containing custom information provided using the OnGetCellText event handler in a shell list view control.
FormatpublishedSpecifies a user-defined format for file system information displayed in the column. Relevant for columns using cidSize or cidDateModified in the ColumnID property.
SizeUnitspublishedSpecifies the unit of measure (if any) displayed for a column with file size information.

Methods

GetListViewprotectedGets the shell list view control where the column is defined.
GetSizeFormatprotectedGets formatted size information for a column using cidSize in its ColumnID.

Inherited

From TListColumn (17)

Alignment Assign AutoSize Caption Create Destroy GetDisplayName GetStoredWidth ImageIndex MaxWidth MinWidth SetIndex SortIndicator Tag Visible Width WidthType

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.