[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Text displayed as the title for the grid column.
Source position: grids.pas line 503
published property TGridColumnTitle.Caption : TCaption |
Caption is a TCaption property which contains the text displayed as the title for a grid column in a fixed cell header. If an explicit value has not been assigned to Caption, the value from GetDefaultCaption is used as the property value ('Title').
Changing the value for the property causes the ColumnChanged method in Column to be called. This updates the collection item in the Grid where the Column is defined, and resets the value in the WidthChanged property for the Column.
Use Font to control the typeface and display attributes for the text.
Use Alignment to control the horizontal alignment for the text within the cell header.
Use Layout to control the vertical alignment for the text within the cell header.
Use MultiLine to indicate whether the text can be word-wrapped when it is longer than the display width for the column.
Use ImageIndex to specify the glyph displayed for in the cell header for the column.
|
Horizontal alignment for the text in the column title. |
|
|
Contains the typeface and text attributes for the Caption displayed in the column title. |
|
|
The background color for the column title. |
|
|
Ordinal position for the image displayed in the fixed header for 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. |
Version 4.0 | Generated 2025-05-03 | Home |