Vcl.DBGrids.TColumnTitle.DefaultAlignment

From RAD Studio API Documentation
Jump to: navigation, search

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 TColumnTitle

Description

Returns the default alignment of the column title.

DefaultAlignment returns the alignment for the column that should be used if the Alignment property is not explicitly set. The DefaultAlignment property for TColumnTitle always returns taLeftJustify. Descendants of TColumnTitle can override this to compute the default alignment in an appropriate way.

See Also