Skip to main content
A newer version of this page is available. .
Bar

BarDockStyle Enum

Enumerates dock styles for bar objects.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v18.1.dll

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the BarDockStyle enum.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also