Skip to main content
.NET Framework 4.5.2+

IModelLayoutElementWithCaptionOptions.CaptionLocation Property

Specifies a layout element’s caption location.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp

Declaration

Locations CaptionLocation { get; set; }

Property Value

Type Description
DevExpress.Persistent.Base.Locations

A DevExpress.Persistent.Base.Locations enumeration value specifying a layout element’s caption location.

Remarks

The following values are available:

  • Bottom - the caption is located at the bottom.
  • Default - the caption is located at the top (the default setting).
  • Left - the caption is located on the left.
  • Right - the caption is located on the right.
  • Top - the caption is located at the top.

In XAF ASP.NET Core Blazor UI applications, the following values are available:

  • Top - the caption is located at the top. If the value is set to Bottom, the caption is displayed at the top.
  • Left - the caption is located on the left. If the value is set to Right, the caption is displayed on the left.
  • Default - the caption is located at the top (the default setting).

In XAF ASP.NET Core Blazor UI applications, the CaptionLocation property affects only layout items and does not affect layout groups and layout tabs.

See Also