TCustomGrid.GetDefaultColumnAlignment function
Gets the default horizontal alignment used for values in the grid control.
Declaration
function GetDefaultColumnAlignment(Column: Integer): TAlignment
; virtualArguments
Column | Column number is not used in the method |
Function result
Default horizontal alignment for the specified column.
Description
GetDefaultColumnAlignment is a
TAlignment function
which provides the default horizontal alignment for text in the columns for
the grid control. It is used in the
GetColumnAlignment method when
Columns are not Enabled for the control. GetDefaultColumnAlignment
returns the Alignment value from
DefaultTextStyle as stored in the
constructor for the class instance.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
