TGridColumnTitle class
Provides properties and methods need to represent a column title in a grid.
Declaration
TGridColumnTitle = class(TPersistent)Inheritance
- TGridColumnTitle
- TPersistent
- TObject
Descends from it: TColumnTitle
Description
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:
- Alignment
- Color
- Font
- ImageIndex
- ImageLayout
- Layout
- MultiLine
- PrefixOption
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.
See also
Properties
Column | public | The TGridColumn instance where the title is used. |
Alignment | published | Horizontal alignment for the text in the column title. |
Caption | published | Text displayed as the title for the grid column. |
Color | published | The background color for the column title. |
Font | published | Contains the typeface and text attributes for the Caption displayed in the column title. |
ImageIndex | published | Ordinal position for the image displayed in the fixed header for the column title. |
ImageLayout | published | The layout used for any image in the column title. |
Layout | published | Vertical alignment for the Caption text displayed in the column title. |
MultiLine | published | Indicates whether the column title can be displayed as multiple lines. |
PrefixOption | published | Indicates if accelerator keys are used in the column title. |
Methods
GetDefaultCaption | protected | Returns the default caption for the column title. |
GetDefaultAlignment | protected | Returns the default alignment for the column title. |
GetDefaultColor | protected | Returns the default color for the column title. |
GetDefaultLayout | protected | Returns the default layout for the column title. |
GetOwner | protected | Gets the persistent object which owns the class instance. |
GetCaption | protected | Gets the value for the Caption property. |
SetCaption | protected | Specifies the caption used for the column title. |
DefineProperties | protected | Specifies which properties in the persistent object are used during LCL component streaming. |
Create | public | Constructor for the class instance. |
Destroy | public | Destructor for the class instance. |
Assign | public | Copies property value from the specified persistent object into the current class instance. |
FillTitleDefaultFont | public | Stores the default font used for the column title. |
FixDesignFontsPPI | public | Corrects the design-time PPI for the column title. |
ScaleFontsPPI | public | Scales font sizes in the class instance to the specified display density. |
IsDefault | public | Returns True if the column title uses the default property values. |
Inherited
From TPersistent (5)
AssignTo FPOAttachObserver FPODetachObserver FPONotifyObservers GetNamePath
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.
