Skip to main content
Tab

EditorCaptionSettingsBase.VerticalAlign Property

Gets or sets the vertical alignment of an editor’s caption.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

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

Property Value

Type Default Description
EditorCaptionVerticalAlign NotSet

One of the EditorCaptionVerticalAlign 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.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to VerticalAlign
ASP.NET MVC Extensions MVCxImageEditProperties
.CaptionSettings .VerticalAlign
MVCxProgressBarProperties
.CaptionSettings .VerticalAlign
ASP.NET Web Forms Controls ASPxProgressBar
.CaptionSettings .VerticalAlign
ASPxStaticEdit
.CaptionSettings .VerticalAlign

Remarks

Use the VerticalAlign and EditorCaptionSettingsBase.HorizontalAlign properties to specify the vertical and horizontal alignments of an editor’s caption.

See Also