wpf-devexpress-dot-xpf-dot-docking-dot-docklayoutmanager-914480c4.md
Gets or sets the docking style. This is a dependency property.
Namespace : DevExpress.Xpf.Docking
Assembly : DevExpress.Xpf.Docking.v25.2.dll
NuGet Package : DevExpress.Wpf.Docking
public DockingStyle DockingStyle { get; set; }
Public Property DockingStyle As DockingStyle
| Type | Description |
|---|---|
| DockingStyle |
A DockingStyle value that is the current docking style.
|
Available values:
| Name | Description |
|---|---|
| Default |
The default docking style, based on the Visual Studio 2008 dock behavior. In this mode, you can drag DocumentPanels away from their parent DocumentGroups at runtime. Your users can dock these panels as regular layout panels.
| | VS2010 |
Emulates the docking capabilities found in Microsoft Visual Studio 2010 (including changing docking hints and restricting DocumentPanels from being docked anywhere other than DocumentGroups).
|
The following code sample enables VS2010 dock mode:
<Window ...
xmlns:dxdo="http://schemas.devexpress.com/winfx/2008/xaml/docking">
<dxdo:DockLayoutManager DockingStyle="VS2010">
<dxdo:LayoutGroup>
<dxdo:DocumentGroup>
<dxdo:DocumentPanel/>
<dxdo:DocumentPanel/>
</dxdo:DocumentGroup>
</dxdo:LayoutGroup>
</dxdo:DockLayoutManager>
</Window>
See Also