Back to Devexpress

Bar.Offset Property

windowsforms-devexpress-dot-xtrabars-dot-bar-01515878.md

latest1.5 KB
Original Source

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

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(0)]
[XtraSerializableProperty]
public virtual int Offset { get; set; }
vb
<DefaultValue(0)>
<XtraSerializableProperty>
Public Overridable Property Offset As Integer

Property Value

TypeDefaultDescription
Int320

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.

See Also

Bar Class

Bar Members

DevExpress.XtraBars Namespace