Vcl.StdCtrls.TCustomStaticText.Alignment
Delphi
property Alignment: TAlignment read FAlignment write SetAlignment
C++
__property System::Classes::TAlignment Alignment = {read=FAlignment, write=SetAlignment, default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | protected | Vcl.StdCtrls.pas Vcl.StdCtrls.hpp |
Vcl.StdCtrls | TCustomStaticText |
Description
Determines how text is aligned within the component.
The possible values of Alignment are
Value | Meaning |
---|---|
taLeftJustify |
Text is aligned at the left of the control. |
taCenter |
Text is centered in the control. |
taRightJustify |
Text is aligned at the right of the control. |