Skip to main content

DockLayoutManager.DockingStyle Property

Gets or sets the docking style. This is a dependency property.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v23.2.dll

NuGet Package: DevExpress.Wpf.Docking

Declaration

public DockingStyle DockingStyle { get; set; }

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.

Dock Windows - Default Docking Mode

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).

Dock Windows - VS2010 Docking Mode

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>

Dock Windows - VS2010 Docking Mode

See Also