[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Grids' (#lcl)

TGridColumnTitle.Font

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

Declaration

Source position: grids.pas line 505

published property TGridColumnTitle.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

TGridColumnTitle.Column

  

The TGridColumn instance where the title is used.

TGridColumnTitle.Create

  

Constructor for the class instance.

TGridColumnTitle.Caption

  

Text displayed as the title for the grid column.

TGridColumnTitle.Alignment

  

Horizontal alignment for the text in the column title.

TGridColumnTitle.Layout

  

Vertical alignment for the Caption text displayed in the column title.

TGridColumn.FillDefaultFont

  

Sets the Font to the value used in the grid control.

TGridColumn.Font

  

The font used for text displayed in the column.

TCustomGrid.TitleFont

  

The font used for text in a column title.

TFont

  

Represents a font used to draw text in an application.


Version 4.0 Generated 2025-05-03 Home