Bar.DockCol Property

Gets or sets the bar column index position when it is docked.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[DefaultValue(-1)]
[Browsable(false)]
[XtraSerializableProperty]
public virtual int DockCol { get; set; }
<DefaultValue(-1)>
<Browsable(False)>
<XtraSerializableProperty>
Public Overridable Property DockCol As Integer

Property Value

Type Default Description
Int32

-1

The horisontal bar column index when it is docked.

Remarks

If bar is docked to the right or left container form's border, the bar is rotated 90 degrees clockwise. So columns and rows are also rotated. Keep that in mind when using this property. To apply changes made by the property, call the Bar.ApplyDockRowCol method. Otherwise, changes do not affect the current bar position.

DockRow and DockCol

See Also