Bar.DockCol Property

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

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v21.1.dll


public virtual int DockCol { get; set; }

Property Value

Type Default Description


The horisontal bar column index when it is docked.


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