[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Gets the default vertical layout for text in the specified column.
Source position: grids.pas line 1099
protected function TCustomGrid.GetDefaultColumnLayout( |
Column: Integer |
):TTextLayout; virtual; |
Column |
|
Column number examined in the method. |
TTextLayout value for the specified column.
GetDefaultColumnLayout gets the default vertical layout for text in the specified Column. The DefaultTextStyle property is used as the source for the text Layout, and contains the value assigned in the constructor for the class instance.
GetDefaultColumnLayout is called from GetColumnLayout when a TGridColumn instance cannot be located in Columns for the specified column number. This occurs when Column is invalid for the defined Columns in the control, or when Columns has not been Enabled (contains at least one visible column).
Change values in the DefaultTextStyle property to override the default values assigned in the Create method. Use the Columns collection to change the text layout used in a column when Columns are Enabled.
Version 4.0 | Generated 2025-05-03 | Home |