[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Vertical alignment for the Caption text displayed in the column title.
Source position: grids.pas line 508
published property TGridColumnTitle.Layout : TTextLayout |
Layout is a TTextLayout property which indicates the vertical alignment for the caption text within the fixed header for the column. See TTextLayout for the values allowed in the property and their meanings.
If an explicit value has not been assigned to the property, the value from the GetDefaultLayout method (tlCenter) is used as the property value.
Changing the value for the property causes the ColumnChanged method in Column to be called. This updates the collection item in the grid control where the column is defined, and resets the value in the WidthChanged property in Column.
Use Alignment to control the horizontal alignment for the Caption text displayed in the column title.
Use MultiLine to control text wrapping when Caption is longer than the display width for the Column.
Use ImageLayout to control the placement of an image relative to the Caption in the column title.
|
Text displayed as the title for the grid column. |
|
|
Returns the default layout for the column title. |
|
|
The layout used for any image in the column title. |
|
|
Indicates whether the column title can be displayed as multiple lines. |
|
|
Represents the text layout used to render text in its rectangle. |
Version 4.0 | Generated 2025-05-03 | Home |