Skip to main content

Bar.Offset Property

Gets or sets the offset in pixels from the left or top border of the bar container based on the dock style.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(0)]
[XtraSerializableProperty]
public virtual int Offset { get; set; }

Property Value

Type Default Description
Int32 0

The offset in pixels from the left or top border of the bar container based on the dock style.

Remarks

If dock style is left or right, the Offset property contains the offset of the upper bar border from the upper bar container border. Otherwise the Offset property contains the offset of the left bar border from the left bar container border.

DockRow and DockCol

See Also