Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

Bar.DockCol Property

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

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.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