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

BaseLayoutItem.CaptionLocation Property

Gets or sets the position of the item’s caption. This is a dependency property.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v18.2.dll

Declaration

public CaptionLocation CaptionLocation { get; set; }

Property Value

Type Description
CaptionLocation

A CaptionLocation value that specifies the position where the caption is displayed.

Available values:

Name Description
Default

An item’s caption is displayed at the default position, which is different for different item types.

Left

An item’s caption is displayed on the left.

Top

An item’s caption is displayed at the top.

Right

An item’s caption is displayed on the right.

Bottom

An item’s caption is displayed at the bottom.

Remarks

To specify a caption, use the BaseLayoutItem.Caption property.

Changing the caption’s location is supported for LayoutControlItem objects.

See Also