wpf-devexpress-dot-xpf-dot-docking-cf158da2.md
Represents a container for dock and layout items.
Namespace : DevExpress.Xpf.Docking
Assembly : DevExpress.Xpf.Docking.v25.2.dll
NuGet Package : DevExpress.Wpf.Docking
[DXLicenseWpfEditors]
public class DockLayoutManager :
psvControl,
IWeakEventListener,
IUIElement,
ISupportBatchUpdate,
ILogicalOwner,
IInputElement
<DXLicenseWpfEditors>
Public Class DockLayoutManager
Inherits psvControl
Implements IWeakEventListener,
IUIElement,
ISupportBatchUpdate,
ILogicalOwner,
IInputElement
The following members return DockLayoutManager objects:
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.
<Grid>
<dxdo:DockLayoutManager>
<dxdo:LayoutGroup>
</dx:ThemedWindow.Resources>
<dxd:DockLayoutManager x:Name="rootDockLayoutManager" AllowCustomization="True">
<dxd:LayoutGroup>
Title="Prism support sample" Height="400" Width="700" dxcore:ThemeManager.Theme="Office2016White">
<dxdo:DockLayoutManager x:Name="dockManager" DataContext="{Binding ElementName=list, Path=SelectedItem}">
<dxdo:LayoutGroup>
wpf-scheduler-use-entity-framework-to-bind-to-data/CS/DXSample/MainWindow.xaml#L21
<dxr:RibbonStatusBarControl DockPanel.Dock="Bottom"/>
<dxdo:DockLayoutManager AutoHideMode="Inline">
<dxdo:LayoutGroup>
</dxb:BarManager.Bars>
<dxdo:DockLayoutManager x:Name="dockManager" ClosingBehavior="ImmediatelyRemove" AllowCustomization="False">
<dxdo:LayoutGroup Orientation="Vertical" >
Object DispatcherObject DependencyObject Visual UIElement FrameworkElement Control DevExpress.Xpf.Docking.VisualElements.psvControl DockLayoutManager
See Also
Create a Simple Layout of Dock Panes