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

TcxGridBand.Alignment Property

Specifies the band caption text alignment.

#Declaration

Delphi
property Alignment: TAlignment read; write;

#Property Value

Type
TAlignment

#Remarks

Use the alignment property to specify the band caption text alignment.

Value Meaning
taCenter The band caption text is centered within the band header
taLeftJustify The band caption text is left aligned within the band header
taRightJustify The band caption text is right aligned within the band header

The default value of the Alignment property is taCenter.

Note

This property is provided for backward compatibility with earlier versions of the ExpressQuantumGrid. To specify the horizontal alignment for a band’s caption, you should use the TcxGridBand.HeaderAlignmentHorz property. The TcxGridBand.HeaderAlignmentVert property allows you to specify the vertical alignment for a band’s caption.

See Also