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

# TGridColumn.Layout

The layout (vertical alignment) for text displayed in the column.

## Declaration

Source position: grids.pas line 617

`published property TGridColumn.Layout : TTextLayout read GetLayout write SetLayout stored IsLayoutStored;`

## Description

If Layout has not been assigned, the default value for the property is tlCenter. This causes text for the column to be vertically aligned to the center of the non-fixed cells for the column.

Use the Alignment property to set the horizontal alignment for text displayed in the non-fixed cells for the column.

Use the Layout and Alignment properties in Title to control text displayed in the fixed header for the column.

## See also

TGridColumn.Alignment |  | Indicates the alignment for values displayed in the column: left or right aligned, or centered.
TGridColumn.Title |  | Contains the attributes for the title in the fixed header for the 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.
TTextLayout |  | Represents the text layout used to render text in its rectangle.