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

CreateStandardLayoutAction Class

Creates four BarContainerControls at the four edges of the window, allowing you to dock bars to the window.

Namespace: DevExpress.Xpf.Bars

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

Declaration

public class CreateStandardLayoutAction :
    BarManagerControllerActionBase

Remarks

This action is equivalent to setting the BarManager.CreateStandardLayout property to true. See this link to learn more.

The following code shows how to use a CreateStandardLayoutAction object:

<!--Create four bar containers-->
<dxb:CreateStandardLayoutAction/>
<!--Create a bar and dock it to the bottom bar container-->
<dxb:Bar x:Name="barStatusBar">
    <dxb:Bar.DockInfo>
        <dxb:BarDockInfo ContainerType="Bottom"/>
    </dxb:Bar.DockInfo>
</dxb:Bar>

See Bar Actions to learn more.

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

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.

Implements

See Also