[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Provides properties and methods need to represent a column title in a grid.
Source position: grids.pas line 447
type TGridColumnTitle = class(TPersistent) |
||
protected |
||
function GetDefaultCaption; virtual; |
|
Returns the default caption for the column title. |
function GetDefaultAlignment; |
|
Returns the default alignment for the column title. |
function GetDefaultColor; |
|
Returns the default color for the column title. |
function GetDefaultLayout; |
|
Returns the default layout for the column title. |
function GetOwner; override; |
|
Gets the persistent object which owns the class instance. |
function GetCaption; |
|
Gets the value for the Caption property. |
procedure SetCaption(); virtual; |
|
Specifies the caption used for the column title. |
procedure DefineProperties(); override; |
|
Specifies which properties in the persistent object are used during LCL component streaming. |
public |
||
constructor Create(); virtual; |
|
Constructor for the class instance. |
destructor Destroy; override; |
|
Destructor for the class instance. |
procedure Assign(); override; |
|
Copies property value from the specified persistent object into the current class instance. |
procedure FillTitleDefaultFont; |
|
Stores the default font used for the column title. |
procedure FixDesignFontsPPI(); virtual; |
|
Corrects the design-time PPI for the column title. |
procedure ScaleFontsPPI(); virtual; |
|
Scales font sizes in the class instance to the specified display density. |
function IsDefault; |
|
Returns True if the column title uses the default property values. |
property Column: TGridColumn; [r] |
|
The TGridColumn instance where the title is used. |
published |
||
property Alignment: TAlignment; [rws] |
|
Horizontal alignment for the text in the column title. |
|
Text displayed as the title for the grid column. |
|
|
The background color for the column title. |
|
|
Contains the typeface and text attributes for the Caption displayed in the column title. |
|
property ImageIndex: TImageIndex; [rw] |
|
Ordinal position for the image displayed in the fixed header for the column title. |
property ImageLayout: TButtonLayout; [rw] |
|
The layout used for any image in the column title. |
property Layout: TTextLayout; [rws] |
|
Vertical alignment for the Caption text displayed in the column title. |
property MultiLine: Boolean; [rw] |
|
Indicates whether the column title can be displayed as multiple lines. |
property PrefixOption: TPrefixOption; [rw] |
|
Indicates if accelerator keys are used in the column title. |
end; |
|
Provides properties and methods need to represent a column title in a grid. |
|
| | ||
| | ||
TGridColumnTitle is TPersistent descendant used to represent properties and methods for the title for a column in a grid. Use the published properties in the class to access the layout and display attributes for the column title, including:
Use the Caption to read or write the text displayed as the title for a grid column.
Use the Column to read the column reference (assigned in the constructor for the class instance) to which the column title is attached.
TGridColumnTitle is the type used to implement the TGridColumn.Title property.
|
Contains the attributes for the title in the fixed header for the column. |
|
|
Text displayed as the title for the grid column. |
|
|
The TGridColumn instance where the title is used. |
|
|
Horizontal alignment for the text in the column title. |
|
|
The background color for the column title. |
|
|
Contains the typeface and text attributes for the Caption displayed in the column title. |
|
|
Ordinal position for the image displayed in the fixed header for the column title. |
|
|
The layout used for any image in the column title. |
|
|
Vertical alignment for the Caption text displayed in the column title. |
|
|
Indicates whether the column title can be displayed as multiple lines. |
|
|
Indicates if accelerator keys are used in the column title. |
Version 3.2 | Generated 2024-02-25 | Home |