Skip to main content
Tab

LayoutItemCaptionSettings.Location Property

Gets or sets the location of the layout item caption.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(LayoutItemCaptionLocation.NotSet)]
public virtual LayoutItemCaptionLocation Location { get; set; }

Property Value

Type Default Description
LayoutItemCaptionLocation NotSet

One of the LayoutItemCaptionLocation enumeration values.

Available values:

Name Description
Left

A caption is displayed at the left of the nested control.

Top

A caption is displayed at the top of the nested control.

Right

A caption is displayed at the right of the nested control.

Bottom

A caption is displayed at the bottom of the nested control.

NotSet

A caption location is not set and it is displayed at the default position.

NoSet

Obsolete. Obsolete. Use the NotSet field instead.

Property Paths

You can access this nested property as listed below:

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