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

BarCanDockStyle Enum

Specifies how a bar can be docked.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[Flags]
public enum BarCanDockStyle

#Members

Name Description
Floating

Allows a Bar control to float.

Left

Allows a Bar control to be docked to the left side of the owner control.

Top

Allows a Bar control to be docked to the top of the owner control.

Right

Allows a Bar control to be docked to the right side of the owner control.

Bottom

Allows a Bar control to be docked to the bottom of the owner control.

Standalone

Allows a Bar control to be docked to a StandaloneBarDockControl control.

All

Allows a Bar control to be docked to all sides of the owner control. Additionally, the Bar control can be in a floating state.

#Related API Members

The following properties accept/return BarCanDockStyle values:

#Remarks

The Bar.CanDockStyle property contains a set of BarCanDockStyle enumeration members. For instance, if it contains ‘Floating|Right’, a bar can only float and be docked to the right side of the owner control.

See Also