Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxHeaderSection.Alignment Property

Controls the horizontal placement of text within the section.

#Declaration

Delphi
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