Skip to main content

LayoutControlItem.CaptionToControlDistance Property

Gets or sets the distance between the item’s caption and control. This is a dependency property.

Namespace: DevExpress.Xpf.Docking

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

NuGet Package: DevExpress.Wpf.Docking

Declaration

public double CaptionToControlDistance { get; set; }

Property Value

Type Description
Double

A Double value that specifies the distance between the item’s caption and control.

Remarks

The item’s caption and control are specified by the BaseLayoutItem.Caption and LayoutControlItem.Control properties, respectively. The default distance between the item’s caption and control is specified by the control’s alignment, which can be changed via the BaseLayoutItem.CaptionAlignMode properties of the item itself, and its group. Use the CaptionToControlDistance property to adjust the control’s default offset.

See Also