IModelLayoutElementWithCaptionOptions.CaptionHorizontalAlignment Property

Specifies the horizontal alignment of a layout element's caption.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v18.1.dll

Syntax

HorzAlignment CaptionHorizontalAlignment { get; set; }

Returns

Type Description
HorzAlignment

A DevExpress.Utils.HorzAlignment enumeration value specifying the horizontal alignment of a layout element's caption.

This property is considered in XAF Windows Forms applications only.

The following values are available:

  • Center - centers the caption.
  • Default - places the caption on the left.
  • Far - places the caption on the right.
  • Near - places the caption on the left.