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

IModelLayoutManagerOptions.CaptionVerticalAlignment Property

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

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v20.2.dll

Declaration

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

Property Value

Type Description
VertAlignment

A VertAlignment enumeration value specifying the default vertical alignment of layout group and item captions.

Property Paths

You can access this nested property as listed below:

Object Type Path to CaptionVerticalAlignment
IModelApplication
.Options.LayoutManagerOptions.CaptionVerticalAlignment
IModelOptions
.LayoutManagerOptions.CaptionVerticalAlignment

Remarks

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

The following values are available:

  • Bottom - places captions to the bottom.
  • Center - centers captions.
  • Default - centers captions.
  • Top - places captions to the top.
See Also