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

BaseLayoutItem.CaptionWidth Property

Gets or sets the width of the item’s caption, which is in effect when the CaptionAlignMode property is set to Custom. This is a dependency property.

Namespace: DevExpress.Xpf.Docking

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

Declaration

public double CaptionWidth { get; set; }

Property Value

Type Description
Double

A Double value that specifies the width of the item’s caption.

Remarks

The CaptionWidth property is in effect for LayoutControlItem objects that:

- have the BaseLayoutItem.CaptionAlignMode property set to CaptionAlignMode.Custom

or

- have the BaseLayoutItem.CaptionAlignMode property set to CaptionAlignMode.Default, and reside within a group that has the CaptionAlignMode property set to CaptionAlignMode.Custom.

See Also