Skip to main content
Bar

BarManager.CreateStandardLayout Property

Gets or sets whether the bar manager implicitly creates four BarContainerControls at the four edges of the BarManager control, allowing you to dock Bars at these positions. This is a dependency property.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v23.2.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public bool CreateStandardLayout { get; set; }

Property Value

Type Description
Boolean

true, if the bar manager implicitly creates four BarContainerControls; otherwise, false.

Remarks

By default, the CreateStandardLayout option is set to true. In this mode, four default bar containers (BarContainerControls) are implicitly created along the edges of the BarManager. These containers have the BarContainerControl.ContainerType property set to BarContainerType.Top, BarContainerType.Bottom, BarContainerType.Left and BarContainerType.Right respectively.

You can define a Bar object in the BarManager.Bars collection, and dock this bar to any of these default containers by setting the Bar.DockInfo.ContainerType (BarDockInfo.ContainerType) property to Top, Bottom, Left or Right.

Besides the default containers, you can manually add any number of BarContainerControls to the window. A Bar object, defined in the BarManager.Bars collection, can be docked to these containers using the Bar.DockInfo.Container (BarDockInfo.Container) or Bar.DockInfo.ContainerName (BarDockInfo.ContainerName) properties.

See the BarContainerControl topic to learn more.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CreateStandardLayout property.

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