windowsforms-devexpress-dot-xtrabars-2add5b33.md
Enumerates dock styles for bar objects.
Namespace : DevExpress.XtraBars
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
public enum BarDockStyle
Public Enum BarDockStyle
| Name | Description |
|---|---|
None |
A bar object is floating.
|
| Left |
A bar object is docked to the left side of the owner control.
|
| Top |
A bar object is docked to the top of the owner control.
|
| Right |
A bar object is docked to the right side of the owner control.
|
| Bottom |
A bar object is docked to the bottom of the owner control.
|
| Standalone |
Identifies a StandaloneBarDockControl control.
|
The following properties accept/return BarDockStyle values:
Use the Bar.DockStyle property to specify a bar’s dock style. For instance, setting this property to BarDockStyle.Left docks the bar to the left edge of its container.
Bar dock controls provide the read-only BarDockControl.DockStyle property, ,allowing you to get how a control is docked. For standalone bar dock controls, the DockStyle property always returns BarDockStyle.Standalone.
See Also