Skip to main content
A newer version of this page is available. .

IModelLayoutElementWithCaptionOptions.CaptionLocation Property

Specifies a layout element’s caption location.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

Locations CaptionLocation { get; set; }

Property Value

Type Description
Locations

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

Available values:

Name Description
Default

The same as the Locations.Top option.

Left

An element is located at the left edge of another element.

Right

An element is located at the right edge of another element.

Top

An element is located at the top edge of another element.

Bottom

An element is located at the bottom edge of another element.

Remarks

The following values are available:

  • Bottom - the caption is located at the bottom.
  • Default - the caption is located at the top, by default.
  • Left - the caption is located on the left.
  • Right - the caption is located on the right.
  • Top - the caption is located at the top.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CaptionLocation property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also