Skip to main content
Bar

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Package: DevExpress.Wpf.Core

#Declaration

public double Offset { get; set; }

#Property Value

Type Description
Double

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

#Remarks

Dragging a bar within a bar container changes its Offset.

See Also