Back to Devexpress

Bar.DockCol Property

windowsforms-devexpress-dot-xtrabars-dot-bar-b50c4808.md

latest1.7 KB
Original Source

Bar.DockCol Property

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

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
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.

See Also

ApplyDockRowCol()

DockRow

Bar Class

Bar Members

DevExpress.XtraBars Namespace