Sign in Join
FPDoc Onlineexperiment

TGridColumnTitle.Font property

Member of TGridColumnTitlepublishedIn unit Grids

Contains the typeface and text attributes for the Caption displayed in the column title.

Declaration

pascal
property Font: TFont read GetFont write SetFont stored IsFontStored;

Description

Font is a TFont property which contains the name for the typeface and its attributes which are applied to the text displayed in the column title. The default value for the property is assigned in the Create constructor, and uses the value determined by the FillDefaultFont method in the Column. It contains the TitleFont for the grid control (when assigned) or the Column (by default).

Use Alignment to control the horizontal alignment for the text displayed in the column title; this overrides the attributes assigned to Font.

Use Layout to control the vertical alignment for the text displayed in the column title; this overrides the attributes assigned to Font.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.