Back to Devexpress

TdxCustomLayoutItemCaptionOptions.AlignHorz Property

vcl-dxlayoutcontainer-dot-tdxcustomlayoutitemcaptionoptions-6c28f609.md

latest2.6 KB
Original Source

TdxCustomLayoutItemCaptionOptions.AlignHorz Property

Specifies horizontal caption text alignment.

Declaration

delphi
property AlignHorz: TAlignment read; write; default taLeftJustify;

Property Value

TypeDefaultDescription
TAlignmenttaLeftJustify

A horizontal alignment option.

|

Remarks

Options include:

ValueLayout Item ExampleLayout Group ExampleSeparator Example
taLeftJustify
taCenter
taRightJustify

Note

The AlignHorz property has no effect on vertically oriented captions:

  • The caption of a layout item or layout group is vertically oriented if the Layout property is set to clLeft or clRight.
  • A separator is vertically oriented when the separator’s height exceeds its width on the screen.

The AlignHorz property’s default value is taLeftJustify.

See Also

TdxCustomLayoutItemCaptionOptions Class

TdxCustomLayoutItemCaptionOptions Members

dxLayoutContainer Unit