WpfDocking 0.9.6
See the version list below for details.
dotnet add package WpfDocking --version 0.9.6
NuGet\Install-Package WpfDocking -Version 0.9.6
<PackageReference Include="WpfDocking" Version="0.9.6" />
<PackageVersion Include="WpfDocking" Version="0.9.6" />
<PackageReference Include="WpfDocking" />
paket add WpfDocking --version 0.9.6
#r "nuget: WpfDocking, 0.9.6"
#:package WpfDocking@0.9.6
#addin nuget:?package=WpfDocking&version=0.9.6
#tool nuget:?package=WpfDocking&version=0.9.6
WpfDocking
A lightweight WPF docking framework inspired by Visual Studio and VS Code.
Drop it into any WPF window — no IDE, no plugin host, zero external dependencies.
dotnet add package WpfDocking
Full documentation: WpfDocking-guide.md — Architecture, API reference, integration guides (Level 1–4), layout persistence, and settings reference.
Quick Start
1 — Add the namespace
<Window
xmlns:dock="clr-namespace:WpfHexEditor.Shell;assembly=WpfHexEditor.Docking.Wpf">
2 — Place the dock host
<dock:DockControl x:Name="DockHost" />
3 — Register a content factory and load a layout
using WpfHexEditor.Shell;
DockWorkspace.ContentFactory = new MyContentFactory();
await DockWorkspace.LoadLayoutAsync("layout.json");
4 — Add panels and documents programmatically
// Add a tool panel (left side)
DockHost.AddPanel(new MyToolPanel(), DockSide.Left);
// Add a document tab
DockHost.AddDocument(new MyDocument());
// Save layout
await DockWorkspace.SaveLayoutAsync("layout.json");
Features
Layout
- Panel docking: Left / Right / Top / Bottom / Center (tabbed)
- Document host with tab groups and split view
- Floating windows — undock any panel to a standalone window
- Auto-hide panels — collapse to edge bar, expand on hover
- Rounded corners with 3-mode dropdown (Sharp / Soft / Round) and live refresh
- JSON layout persistence (
DockLayoutSerializer)
Drag & Drop
- Drag-and-drop with VS-style overlay drop targets
- VS-like overlay gap and placement-aware tab styles
StaysOpen=trueon hover preview popup — Win32 mouse-capture no longer suppresses WPFMouseLeave
Theming
- Runtime theme switching (Dark / Light via
DynamicResource) - Light and Dark theme
ContextMenu— drop shadow, MDL2 icons, accent band - ScrollBar theming consistent across all panels
ClipToBoundsfix for docking panes inside custom layouts
Controls
DockGroupBadge— numeric badge overlay on panel tab headersDockControl— main containerDockWorkspace— layout/session manager
Accessibility
- Full UI Automation / MSAA support on all docking elements
Standalone Setup
No additional resource dictionary is required. The docking framework is self-contained.
For custom VS Code-style chrome (borderless window):
<Window WindowStyle="None">
<WindowChrome.WindowChrome>
<WindowChrome ResizeBorderThickness="4" CaptionHeight="32" />
</WindowChrome.WindowChrome>
<dock:DockControl x:Name="DockHost" />
</Window>
Included Assemblies
Both bundled inside the package — zero external NuGet dependencies:
| Assembly | Purpose |
|---|---|
| WpfHexEditor.Docking.Wpf | WPF chrome, panels, documents, drag-drop |
| WpfHexEditor.Docking.Core | Platform-agnostic layout engine (no WPF dependency) |
What's New in 0.9.6.0
- Fix:
TrackActivationnow fires on tab-group focus — all dependent panels (ParsedFields, breadcrumb, outline) sync correctly when switching between tab groups. - Fix: Panel activation state no longer lost when switching tab groups with keyboard navigation.
What's New in 0.9.5.2
- New:
DockGroupBadgecontrol — numeric badge overlay on panel tab headers. - New: Rounded corners — 3-mode dropdown (Sharp / Soft / Round) with live refresh.
- Fix:
StaysOpen=trueon hover preview popup — Win32 mouse-capture no longer suppresses WPFMouseLeaveevents, fixing auto-hide panel flicker. - Fix:
ClipToBoundsfix for docking panes inside custom layouts. - Fix: ScrollBar theming consistent across all docked panels.
- New: Light theme
ContextMenu— drop shadow, accent band, MDL2 icons. - New: Empty editor tab placeholders — panels can be opened before content is loaded.
What's New in 0.9.5.1
- VS-like overlay gap and placement-aware tab styles for document host.
- Hover preview popup stability improvements.
- Initial NuGet release.
License
GNU Affero General Public License v3.0 (AGPL-3.0)
Links
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0-windows7.0 is compatible. net9.0-windows was computed. net10.0-windows was computed. |
-
net8.0-windows7.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.