Skip to main content
Tab

LayoutItemCaptionSettings.VerticalAlign Property

Gets or sets the current layout item caption’s vertical alignment.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(FormLayoutVerticalAlign.NotSet)]
public virtual FormLayoutVerticalAlign VerticalAlign { get; set; }

Property Value

Type Default Description
FormLayoutVerticalAlign NotSet

One of the FormLayoutVerticalAlign enumeration values.

Available values:

Name Description
Top

The element is displayed at the top of its parent container.

Bottom

The element is displayed at the bottom of its parent container.

Middle

The element is displayed in the middle of its parent container.

NotSet

The element alignment is not set.

NoSet

Obsolete. Obsolete. Use the NotSet field instead.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to VerticalAlign
ASP.NET Web Forms Controls ASPxFormLayout
.SettingsItemCaptions .VerticalAlign
FormLayoutProperties
.SettingsItemCaptions .VerticalAlign
LayoutGroupBase
.SettingsItemCaptions .VerticalAlign
LayoutItem
.CaptionSettings .VerticalAlign
ASP.NET MVC Extensions FormLayoutSettings<ModelType>
.SettingsItemCaptions .VerticalAlign
See Also