Dock.Model
11.3.11.1
dotnet add package Dock.Model --version 11.3.11.1
NuGet\Install-Package Dock.Model -Version 11.3.11.1
<PackageReference Include="Dock.Model" Version="11.3.11.1" />
<PackageVersion Include="Dock.Model" Version="11.3.11.1" />
<PackageReference Include="Dock.Model" />
paket add Dock.Model --version 11.3.11.1
#r "nuget: Dock.Model, 11.3.11.1"
#:package Dock.Model@11.3.11.1
#addin nuget:?package=Dock.Model&version=11.3.11.1
#tool nuget:?package=Dock.Model&version=11.3.11.1
Dock
A docking layout system.
About
Dock is a docking layout system for Avalonia applications. Use of Dock is governed by the MIT License.
Key Features:
- ItemsSource Support: Bind document collections directly to DocumentDock for automatic document management
- Flexible Content Templates: Use DocumentTemplate for customizable document content rendering
- Multiple MVVM Frameworks: Support for ReactiveUI, Prism, ReactiveProperty, and standard MVVM patterns
- Comprehensive Serialization: Save and restore layouts with multiple format options (JSON, XML, YAML, Protobuf)
- Rich Theming: Fluent and Simple themes with full customization support
- Floating Windows: Detach documents and tools into separate windows
- Dependency Injection: First-class support for .NET DI containers
Building Dock
First, clone the repository or download the latest zip.
git clone https://github.com/wieslawsoltes/Dock.git
Build using .NET Core
Open up a terminal prompt and execute the commands.
Target frameworks: netstandard2.0, net6.0, net8.0, net10.0 for libraries and samples:
dotnet build src/Dock.Avalonia/Dock.Avalonia.csproj -c Release -f netstandard2.0
Alternatively execute the repository build script which restores, builds and tests all projects. The scripts work on Windows and Unix like systems:
./build.sh # or .\build.cmd on Windows
NuGet
Dock is delivered as a NuGet package.
You can find the packages here NuGet and install the package like this:
Install-Package Dock.Avalonia
Install-Package Dock.Model.Mvvm
Install-Package Dock.Serializer.Newtonsoft
Install-Package Dock.Avalonia.Themes.Fluent
Available NuGet packages:
Nightly Packages
Nightly builds are published to GitHub Packages on pushes to master. Versions use the nightly.YYYYMMDD.RUN suffix.
Add the GitHub Packages source (replace OWNER with the repository owner):
https://nuget.pkg.github.com/OWNER/index.json
Authenticate with a GitHub token that has read:packages:
dotnet nuget add source https://nuget.pkg.github.com/wieslawsoltes/index.json -n github -u YOUR_GITHUB_USERNAME -p YOUR_GITHUB_TOKEN --store-password-in-clear-text
Install pre-release packages:
Install-Package Dock.Avalonia -Pre
Install-Package Dock.Model.Mvvm -Pre
Install-Package Dock.Serializer.Newtonsoft -Pre
Install-Package Dock.Avalonia.Themes.Fluent -Pre
Resources
Sample applications can be found under the samples directory which illustrate each approach in a working project:
DockXamlSample- XAML layouts with ItemsSource examplesDockMvvmSample- Full MVVM implementationDockReactiveUISample- ReactiveUI patternsDockOfficeSample- Office-style workspaces with ReactiveUI navigationDockCodeOnlySample- Pure C# layoutsNotepad- Real-world text editor exampleVisualStudioDemo- Visual Studio-like interface- And many more specialized examples
License
Dock is licensed under the MIT license.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Dock.Controls.Recycling.Model (>= 11.3.11.1)
-
net10.0
- Dock.Controls.Recycling.Model (>= 11.3.11.1)
-
net6.0
- Dock.Controls.Recycling.Model (>= 11.3.11.1)
-
net8.0
- Dock.Controls.Recycling.Model (>= 11.3.11.1)
NuGet packages (22)
Showing the top 5 NuGet packages that depend on Dock.Model:
| Package | Downloads |
|---|---|
|
Dock.Avalonia
A docking layout system. |
|
|
Dock.Model.ReactiveUI
A docking layout system. |
|
|
Dock.Settings
A docking layout system. |
|
|
Dock.Model.Mvvm
A docking layout system. |
|
|
Dock.Model.Avalonia
A docking layout system. |
GitHub repositories (5)
Showing the top 5 popular GitHub repositories that depend on Dock.Model:
| Repository | Stars |
|---|---|
|
uxmal/reko
Reko is a binary decompiler.
|
|
|
kikipoulet/SukiUI
UI Theme for AvaloniaUI
|
|
|
BAndysc/AvaloniaVisualBasic6
A recreation of the classic Visual Basic 6 IDE and language in C# with Avalonia
|
|
|
BAndysc/Classic.Avalonia
Classic Theme and Controls for Avalonia
|
|
|
nesrak1/UABEANext
A research and modding tool for SerializedFiles and Asset Bundles
|
| Version | Downloads | Last Updated |
|---|---|---|
| 11.3.11.1 | 0 | 1/31/2026 |
| 11.3.11 | 181 | 1/29/2026 |
| 11.3.9 | 2,421 | 1/11/2026 |
| 11.3.8 | 10,779 | 11/14/2025 |
| 11.3.6.5 | 3,555 | 10/23/2025 |
| 11.3.6.4 | 1,881 | 10/10/2025 |
| 11.3.6.3 | 973 | 10/8/2025 |
| 11.3.6.2 | 1,749 | 10/7/2025 |
| 11.3.6.1 | 4,615 | 9/24/2025 |
| 11.3.6 | 1,914 | 9/18/2025 |
| 11.3.2.2 | 3,348 | 8/15/2025 |
| 11.3.2.1 | 821 | 8/15/2025 |
| 11.3.2 | 3,367 | 8/10/2025 |
| 11.3.0.17 | 1,677 | 7/22/2025 |
| 11.3.0.16 | 1,073 | 7/22/2025 |
| 11.3.0.15 | 716 | 7/18/2025 |
| 11.3.0.14 | 933 | 7/14/2025 |
| 11.3.0.13 | 640 | 7/11/2025 |
| 11.3.0.12 | 2,072 | 7/10/2025 |
| 11.3.0.11 | 853 | 7/10/2025 |
| 11.3.0.10 | 649 | 7/7/2025 |
| 11.3.0.9 | 521 | 7/7/2025 |
| 11.3.0.8 | 469 | 7/7/2025 |
| 11.3.0.7 | 586 | 7/3/2025 |
| 11.3.0.6 | 473 | 7/3/2025 |
| 11.3.0.5 | 434 | 7/3/2025 |
| 11.3.0.4 | 2,738 | 7/1/2025 |
| 11.3.0.3 | 516 | 6/30/2025 |
| 11.3.0.2 | 21,794 | 5/24/2025 |
| 11.3.0.1 | 4,611 | 5/12/2025 |
| 11.3.0 | 2,465 | 5/7/2025 |
| 11.2.8 | 686 | 5/4/2025 |
| 11.2.7 | 4,027 | 4/12/2025 |
| 11.2.6 | 1,219 | 4/11/2025 |
| 11.2.0.2 | 3,575 | 3/5/2025 |
| 11.2.0.1 | 4,377 | 2/26/2025 |
| 11.2.0 | 28,500 | 10/31/2024 |
| 11.1.0.4 | 2,253 | 10/19/2024 |
| 11.1.0.3 | 3,020 | 9/23/2024 |
| 11.1.0.2 | 390 | 9/23/2024 |
| 11.1.0.1 | 9,695 | 7/23/2024 |
| 11.1.0 | 964 | 7/22/2024 |
| 11.1.0-rc1 | 1,804 | 6/16/2024 |
| 11.0.10 | 6,607 | 6/1/2024 |
| 11.0.0.7 | 10,847 | 3/23/2024 |
| 11.0.0.6 | 1,666 | 3/3/2024 |
| 11.0.0.5 | 10,794 | 12/18/2023 |
| 11.0.0.4 | 696 | 12/15/2023 |
| 11.0.0.3 | 2,876 | 11/15/2023 |
| 11.0.0.2 | 6,979 | 9/5/2023 |
| 11.0.0.1 | 4,117 | 9/2/2023 |
| 11.0.0 | 11,529 | 7/5/2023 |
| 11.0.0-rc1.1 | 803 | 6/3/2023 |
| 11.0.0-preview8.2 | 769 | 5/17/2023 |
| 11.0.0-preview8.1 | 338 | 5/16/2023 |
| 11.0.0-preview8 | 595 | 5/13/2023 |
| 11.0.0-preview6 | 2,325 | 3/22/2023 |
| 11.0.0-preview5 | 3,785 | 2/3/2023 |
| 11.0.0-preview4 | 2,633 | 11/17/2022 |
| 11.0.0-preview3 | 1,896 | 11/3/2022 |
| 11.0.0-preview2 | 879 | 10/10/2022 |
| 11.0.0-preview1 | 1,825 | 8/19/2022 |
| 0.10.18.1 | 6,469 | 8/19/2022 |
| 0.10.18 | 4,726 | 8/16/2022 |
| 0.10.14 | 7,279 | 5/27/2022 |
| 0.10.13 | 2,666 | 5/5/2022 |
| 0.10.12 | 4,283 | 1/27/2022 |
| 0.10.11 | 2,579 | 12/21/2021 |
| 0.10.11-rc.2 | 406 | 12/8/2021 |
| 0.10.11-rc.1 | 3,460 | 11/24/2021 |
| 0.10.10 | 6,911 | 11/3/2021 |
| 0.10.8 | 2,139 | 10/10/2021 |
| 0.10.7.4 | 1,857 | 9/13/2021 |
| 0.10.7.3 | 1,149 | 9/13/2021 |
| 0.10.7.2 | 1,211 | 9/12/2021 |
| 0.10.7.1 | 1,076 | 8/23/2021 |
| 0.10.7 | 2,342 | 8/17/2021 |
| 0.10.6.7 | 1,217 | 7/25/2021 |
| 0.10.6.6 | 1,076 | 7/21/2021 |
| 0.10.6.5 | 1,074 | 7/20/2021 |
| 0.10.6.4 | 995 | 7/20/2021 |
| 0.10.6.3 | 1,274 | 7/18/2021 |
| 0.10.6.2 | 1,099 | 7/17/2021 |
| 0.10.6.1 | 1,001 | 7/16/2021 |
| 0.10.6 | 1,324 | 6/11/2021 |
| 0.10.4 | 1,255 | 5/11/2021 |
| 0.10.3.3 | 988 | 5/10/2021 |
| 0.10.3.2 | 1,004 | 5/10/2021 |
| 0.10.3.1 | 1,028 | 5/8/2021 |
| 0.10.3 | 1,046 | 4/30/2021 |
| 0.10.2 | 1,046 | 4/28/2021 |
| 0.10.0 | 9,532 | 1/22/2021 |
| 0.10.0-rc2 | 894 | 1/20/2021 |
| 0.10.0-rc1 | 1,313 | 12/11/2020 |
| 0.10.0-preview6 | 1,155 | 10/27/2020 |
| 0.10.0-preview5 | 1,844 | 9/2/2020 |
| 0.10.0-preview4 | 1,664 | 8/27/2020 |
| 0.10.0-preview3 | 2,799 | 8/17/2020 |
| 0.10.0-preview2 | 1,312 | 7/24/2020 |
| 0.10.0-preview1 | 1,586 | 7/8/2020 |
| 0.9.12 | 3,418 | 9/1/2020 |
| 0.9.11 | 1,870 | 9/1/2020 |
| 0.9.10 | 1,859 | 9/1/2020 |
| 0.9.9 | 42,865 | 4/20/2020 |
| 0.9.8 | 1,912 | 4/20/2020 |
| 0.9.7.2 | 1,991 | 4/17/2020 |
| 0.9.7.1 | 2,092 | 4/8/2020 |
| 0.9.7 | 2,943 | 4/3/2020 |
| 0.9.6 | 2,373 | 3/28/2020 |
| 0.9.5 | 2,610 | 3/27/2020 |
| 0.9.4.1 | 3,089 | 3/16/2020 |
| 0.9.4 | 3,732 | 3/11/2020 |
| 0.9.3 | 4,640 | 2/8/2020 |
| 0.9.2 | 3,707 | 1/20/2020 |
| 0.9.1 | 1,983 | 1/3/2020 |
| 0.9.0 | 4,309 | 12/13/2019 |
| 0.9.0-rc.2 | 558 | 12/12/2019 |
| 0.9.0-rc.1 | 1,030 | 12/4/2019 |
| 0.9.0-preview9 | 1,527 | 11/30/2019 |
| 0.9.0-preview8 | 1,732 | 11/25/2019 |
| 0.9.0-preview7 | 3,091 | 11/9/2019 |
| 0.9.0-preview5 | 1,484 | 11/4/2019 |
| 0.9.0-preview4 | 1,327 | 10/22/2019 |
| 0.9.0-preview3 | 1,334 | 10/19/2019 |
| 0.9.0-preview2 | 1,358 | 10/17/2019 |
| 0.9.0-preview10 | 1,213 | 12/3/2019 |
| 0.9.0-preview1 | 2,787 | 10/15/2019 |
| 0.8.2 | 2,306 | 8/9/2019 |
| 0.8.1.1 | 1,922 | 8/9/2019 |
| 0.8.1 | 2,303 | 8/9/2019 |
| 0.8.0 | 18,335 | 4/4/2019 |
| 0.0.3 | 2,213 | 12/3/2018 |
| 0.0.1 | 3,029 | 10/30/2018 |