DockLayoutManager.DockingStyle Property
Gets or sets the docking style. This is a dependency property.
Namespace: DevExpress.Xpf.Docking
Assembly: DevExpress.Xpf.Docking.v20.2.dll
NuGet Packages: DevExpress.WindowsDesktop.Wpf.Docking, DevExpress.Wpf.Navigation
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. |
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>
See Also