TcxHeaderSection.Alignment Property
Controls the horizontal placement of text within the section.
Declaration
property Alignment: TAlignment read; write; default taLeftJustify;
Property Value
| Type | Default |
|---|---|
| TAlignment | taLeftJustify |
Remarks
Set Alignment to specify how the text of a section is justified within the section. The Alignment property may take one of the following values (see the Status section in the images below):
| Value | Meaning | Example |
|---|---|---|
| taCenter | Text is centered. | ![]() |
| taLeftJustify | Text is aligned to the left side of the section. | ![]() |
| taRightJustify | Text is aligned to the right side of the section. | ![]() |
The default value of the Alignment property is taLeftJustify.
See Also


