Skip to main content

Bar.DockCol Property

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

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[Browsable(false)]
[DefaultValue(-1)]
[XtraSerializableProperty]
public virtual int DockCol { get; set; }

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