Skip to main content
Bar

BarDockStyle Enum

Enumerates dock styles for bar objects.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public enum BarDockStyle

Members

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.

Related API Members

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