TcxGridBand.Alignment Property
Specifies the band caption text alignment.
Declaration
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