Skip to main content
Tab

LayoutItemCaptionSettings.HorizontalAlign Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

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

Property Value

Type Default Description
FormLayoutHorizontalAlign NotSet

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

NoSet

Obsolete. Obsolete. Use the NotSet field instead.

Property Paths

You can access this nested property as listed below:

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