Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IModelLayoutManagerOptions.CaptionVerticalAlignment Property

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

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

[DefaultValue(VertAlignment.Default)]
VertAlignment CaptionVerticalAlignment { get; set; }

#Property Value

Type Default Description
VertAlignment Default

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

Available values:

Name Description
Default

Places the text to its default position. The default position is in the center of an object.

Top

Places the text to the top of an object.

Center

Centers the text within an object.

Bottom

Places the text to the bottom of an object.

#Property Paths

You can access this nested property as listed below:

Object Type Path to 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