DockLayoutManager.DockingStyle Property
Gets or sets the docking style. This is a dependency property.
Namespace: DevExpress.Xpf.Docking
Assembly: DevExpress.Xpf.Docking.v24.1.dll
NuGet Package: DevExpress.Wpf.Docking
Declaration
Property Value
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). |
Remarks
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>