Skip to main content

DockLayoutManager Class

Represents a container for dock and layout items.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v24.2.dll

NuGet Package: DevExpress.Wpf.Docking

Declaration

public class DockLayoutManager :
    psvControl,
    IWeakEventListener,
    IUIElement,
    ISupportBatchUpdate,
    ILogicalOwner,
    IInputElement

The following members return DockLayoutManager objects:

Remarks

Run Demo: Visual Studio Docking

The Dock Layout Manager allows you to create a docking UI and build a control layout. The Dock Layout Manager supports MDI Bar Merging, Save and Restore Layouts, MVVM structure, and much more…

Tip

Refer to the Dock Layout Manager topic for more information on how to implement the docking and/or layout functionalities in your window.

Drag the DevExpress DockLayoutManager from the Visual Studio Toolbox and drop it onto the form to add it to your application.

<Window x:Class="SimpleDockingApplication.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:dxdo="http://schemas.devexpress.com/winfx/2008/xaml/docking">
    <Grid>  
        <dxdo:DockLayoutManager>
            <dxdo:LayoutGroup Caption="LayoutRoot" Orientation="Vertical" >
                <dxdo:LayoutPanel Caption="Panel1"/>
                <dxdo:LayoutPanel Caption="Panel2"/>
            </dxdo:LayoutGroup>
        </dxdo:DockLayoutManager>
    </Grid>
</Window>

The following code snippets (auto-collected from DevExpress Examples) contain references to the DockLayoutManager 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.

Inheritance

Object
DispatcherObject
DependencyObject
Visual
UIElement
FrameworkElement
Control
DevExpress.Xpf.Docking.VisualElements.psvControl
DockLayoutManager
See Also