Vcl.DBGrids.TColumn.DefaultAlignment
Delphi
function DefaultAlignment: TAlignment;
C++
System::Classes::TAlignment __fastcall DefaultAlignment();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.DbGrids.pas Vcl.DBGrids.hpp |
Vcl.DBGrids | TColumn |
Description
Returns the default alignment for the column.
Use DefaultAlignment to determine the alignment of the data in the column when the Alignment property has not been explicitly set. DefaultAlignment returns the Alignment property of the TField associated with the column. If the column has no dataset field associated with it, DefaultAlignment returns taLeftJustify.