windowsforms-devexpress-dot-xtrabars-dot-bar-01515878.md
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
[DefaultValue(0)]
[XtraSerializableProperty]
public virtual int Offset { get; set; }
<DefaultValue(0)>
<XtraSerializableProperty>
Public Overridable Property Offset As Integer
| Type | Default | Description |
|---|---|---|
| Int32 | 0 |
The offset in pixels from the left or top border of the bar container based on the dock style.
|
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