Skip to main content
Bar

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

BarDockStyle Enum

Enumerates dock styles for bar objects.

Namespace: DevExpress.XtraBars

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