Skip to main content
Tab

EditorCaptionSettingsBase.HorizontalAlign Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(EditorCaptionHorizontalAlign.NotSet)]
public EditorCaptionHorizontalAlign HorizontalAlign { get; set; }

Property Value

Type Default Description
EditorCaptionHorizontalAlign NotSet

One of the EditorCaptionHorizontalAlign enumeration values.

Available values:

Name Description
Right

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

Left

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

Center

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

NotSet

The element horizontal alignment is not set.

Property Paths

You can access this nested property as listed below:

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

Remarks

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

See Also