.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

IModelLayoutManagerOptions.CaptionHorizontalAlignment Property

Specifies the default horizontal alignment of the layout group and item captions.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

[DefaultValue(HorzAlignment.Default)]
HorzAlignment CaptionHorizontalAlignment { get; set; }
<DefaultValue(HorzAlignment.Default)>
Property CaptionHorizontalAlignment As HorzAlignment
[DefaultValue(HorzAlignment.Default)]
HorzAlignment CaptionHorizontalAlignment { get; set; }
<DefaultValue(HorzAlignment.Default)>
Property CaptionHorizontalAlignment As HorzAlignment
[DefaultValue(HorzAlignment.Default)]
HorzAlignment CaptionHorizontalAlignment { get; set; }
<DefaultValue(HorzAlignment.Default)>
Property CaptionHorizontalAlignment As HorzAlignment

Property Value

Type Default Description
HorzAlignment

Default

A HorzAlignment enumeration value specifying the default horizontal alignment of the layout group and item captions.

Property Value

Type Default Description
HorzAlignment

Default

A HorzAlignment enumeration value specifying the default horizontal alignment of the layout group and item captions.

Property Value

Type Default Description
HorzAlignment

Default

A HorzAlignment enumeration value specifying the default horizontal alignment of the layout group and item captions.

Remarks

This property is in effect for XAF Windows Forms applications only.

The following values are available:

  • Center - centers captions.
  • Default - places captions at the left.
  • Far - places captions to the right.
  • Near - places captions to the left.
See Also