Skip to main content

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

LayoutItemContainer.TextLocation Property

Gets or sets the container’s side along which its caption is displayed.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(Locations.Top)]
public override Locations TextLocation { get; set; }

#Property Value

Type Default Description
Locations Top

A Locations value which specifies the container’s side along which its caption is displayed.

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 text, associated with the layout container, is specified by the BaseLayoutItem.Text property.

See Also