BarContainerType Enum
Contains values that identify the type of bar containers.
Namespace: DevExpress.Xpf.Bars
Assembly: DevExpress.Xpf.Core.v18.2.dll
Declaration
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the BarContainerType 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.