Back to Devexpress

LayoutItemContainer.TextLocation Property

windowsforms-devexpress-dot-xtralayout-dot-layoutitemcontainer-a010d403.md

latest2.0 KB
Original Source

LayoutItemContainer.TextLocation Property

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

Namespace : DevExpress.XtraLayout

Assembly : DevExpress.XtraLayout.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(Locations.Top)]
public override Locations TextLocation { get; set; }
vb
<DefaultValue(Locations.Top)>
Public Overrides Property TextLocation As Locations

Property Value

TypeDefaultDescription
LocationsTop

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

|

Available values:

NameDescription
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

Text

LayoutItemContainer Class

LayoutItemContainer Members

DevExpress.XtraLayout Namespace