Skip to main content

BarDockInfo.Offset Property

Gets or sets the bar’s offset from the left or top border of the bar container, based on the container’s orientation. This property is in effect when the bar is docked to a container. This is a dependency property.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v22.1.dll

NuGet Package: DevExpress.Wpf.Core


public double Offset { get; set; }

Property Value

Type Description

An integer value that specifies the offset of the current bar from the left/top edge of the bar container.


Dragging a bar within a bar container changes its Offset.

See Also