Bar

BarContainerType Enum

Contains values that identify the type of bar containers.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v20.1.dll

Declaration

public enum BarContainerType
Public Enum BarContainerType

Members

Name Description
None

Identifies a bar container that can be freely docked and positioned within the form, and that can be horizontal or vertical. Use the BarContainerControl.Orientation property to change the orientation of these containers.

Left

Identifies the bar container that is designed to display bars at the left of the window.

Top

Identifies the bar container that is designed to display bars at the top of the window.

Right

Identifies the bar container that is designed to display bars at the right of the window.

Bottom

Identifies the bar container that is designed to display bars at the bottom of the window.

Floating

Identifies a floating bar container, used to display floating bars.

Related API Members

The following properties accept/return BarContainerType values:

Remarks

When creating a bar container, you specify the container's type via the BarContainerControl.ContainerType property.

When initializing a bar, you can dock it to a specific bar container via the Bar.DockInfo.ContainerType (BarDockInfo.ContainerType) property. The value assigned to this property must match the BarContainerControl.ContainerType property's value of the required bar container.

To make a bar floating, set the Bar.DockInfo.ContainerType property to Floating. In this instance, there is no need to create a floating dock container.

See Also