Skip to main content
.NET Framework 4.6.2+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IModelLayoutElementWithCaptionOptions.CaptionLocation Property

Specifies a layout element’s caption location.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v24.2.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