Skip to main content
.NET 8.0+

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

IModelLayoutManagerOptions.CaptionLocation Property

Specifies the default layout group and item caption location.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

[DefaultValue(Locations.Default)]
Locations CaptionLocation { get; set; }

#Property Value

Type Default Description
DevExpress.Persistent.Base.Locations Default

A DevExpress.Persistent.Base.Locations enumeration value specifying the default layout group and item caption location.

#Property Paths

You can access this nested property as listed below:

Object Type Path to CaptionLocation
IModelOptions
.LayoutManagerOptions .CaptionLocation

#Remarks

The following values are available:

  • Bottom - captions are located at the bottom.
  • Default - captions are located at the top (the default setting).
  • Left - captions are located at the left.
  • Right - captions are located at the right.
  • Top - captions are 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 - captions are located at the top (the default setting).

In XAF ASP.NET Core Blazor UI applications, the CaptionLocation property does not affect layout groups and tabbed groups.

See Also