Back to Devexpress

DockLayoutManager.DockingStyle Property

wpf-devexpress-dot-xpf-dot-docking-dot-docklayoutmanager-914480c4.md

latest2.6 KB
Original Source

DockLayoutManager.DockingStyle Property

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

Declaration

csharp
public DockingStyle DockingStyle { get; set; }
vb
Public Property DockingStyle As DockingStyle

Property Value

TypeDescription
DockingStyle

A DockingStyle value that is the current docking style.

|

Available values:

NameDescription
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:

xaml
<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

DockLayoutManager Class

DockLayoutManager Members

DevExpress.Xpf.Docking Namespace