[Overview][Constants][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Represents an individual column in a multi-column list control.
Source position: comctrls.pp line 1200
type TListColumn = class(TCollectionItem) |
||
protected |
||
procedure SetIndex(); override; |
|
Sets the value for the Index property. |
function GetDisplayName; override; |
|
Gets the value for the DisplayName property. |
function GetStoredWidth; |
|
Gets the value for Width as included in LCL component streaming. |
public |
||
constructor Create(); override; |
|
Constructor for the class instance. |
destructor Destroy; override; |
|
Destructor for the class instance. |
procedure Assign(); override; |
|
Copies properties from the specified persistent object to the current class instance. |
|
Not used in LCL. |
|
published |
||
property Alignment: TAlignment; [rw] |
|
Sets the horizontal alignment for the Caption text. |
property AutoSize: Boolean; [rw] |
|
When other columns have fixed width, auto-calculate width of this column, to fill entire width. |
property Caption: TTranslateString; [rw] |
|
Caption text for the column. |
property ImageIndex: TImageIndex; [rw] |
|
Index of icon, inside ImageList object for columns of Listview. |
|
Maximal width for this column. |
|
|
Minimal width for this column. |
|
property Tag: PtrInt; [rw] |
|
Int value, to store some info for this column. |
property Visible: Boolean; [rw] |
|
Indicates whether the column is visible on the associated list view control. |
|
Width for the column on a list view control. |
|
property SortIndicator: TSortIndicator; [rw] |
|
Specifies the sort indicator displayed for the column. |
end; |
|
Represents an individual column in a multi-column list control. |
|
| | ||
TCollectionItem |
||
? | ||
TObject |
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.
|
||
|
Collection with the column definitions for the list view control (size, alignment, image index, etc.). |
|
TCollectionItem |