Skip to main content

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.v14.2.dll

#Declaration

[XtraSerializableProperty]
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