Back to Devexpress

BarDockStyle Enum

windowsforms-devexpress-dot-xtrabars-2add5b33.md

latest2.4 KB
Original Source

BarDockStyle Enum

Enumerates dock styles for bar objects.

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public enum BarDockStyle
vb
Public Enum BarDockStyle

Members

NameDescription
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:

Remarks

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

Bar.DockStyle

BarDockControl.DockStyle

StandaloneBarDockControl.DockStyle

DevExpress.XtraBars Namespace