[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
The font used for text displayed in the column.
Source position: grids.pas line 616
published property TGridColumn.Font : TFont |
Font is a TFont property which contains the typeface name and display attributes used to display text for cells in the grid column. By default, Font contains the same value assigned to the Grid control and loaded in the FillDefaultFont method. It is applied to the Canvas for the Grid and used in its DrawCellText method.
Changing the value for the property causes IsDefaultFont to be set to False. The ColumnChanged method is called to update the collection item in the Columns collection for the Grid. The value in WidthChanged is also reset to False.
Use the Font property in Title to set attributes for text displayed in the fixed header cells for the column.
|
Contains the attributes for the title in the fixed header for the column. |
|
|
The grid control to which this column belongs. |
|
|
Performs actions needed when a column in the grid is changed. |
|
|
True when the width for the column has been changed. |
|
|
Contains the typeface and text attributes for the Caption displayed in the column title. |
|
|
Definitions for the columns displayed the grid. |
|
|
Prepares the canvas for drawing the cell at the specified location. |
|
|
Draws the specified text in the given text rectangle. |
|
|
The font to be used for text display in this control. |
|
|
Represents a font used to draw text in an application. |
Version 4.0 | Generated 2025-05-03 | Home |