Documents, tools, and floating windows
Dock Workspace
Compose an IDE-scale workspace from a serializable layout model.
Explore source ↗Capability
Avalonia controls present model-driven document and tool layouts with splits, tabs, drag/drop docking, floating windows, and active-item tracking.
- 01
Documents and tool panes
- 02
Split and tab layouts
- 03
Drag/drop and floating windows
- 04
Model-driven active item state
How it composes
From intent
to working system.
Layout
Docks, documents, and tools describe the workspace tree.
Factory
Application policy creates layouts, commands, windows, and contexts.
Presenter
Avalonia controls select templates for each model node.
Interaction
Drag, split, float, close, pin, and activate operations update the model.
Quick start
Adopt this
capability.
Start with the primary module, then add the related packages only when the application needs those layers. Replace VERSION with the current NuGet version.
dotnet add package Dock.Avalonia<PackageReference Include="Dock.Avalonia" Version="VERSION" /><PackageVersion Include="Dock.Avalonia" Version="VERSION" /><dock:DockControl Layout="{Binding Layout}" Factory="{Binding Factory}" />Modules in this capability
Use one layer.
Compose the rest.
Source of truth
Read the module beside the complete system.
The implementation, samples, issues, and release notes stay in the parent repository so module details remain connected to the product architecture.