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.v20.1.dll

Declaration

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

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