dock-nightly - AvaloniaDemo.Web 11.0.0-build20221103-06
A docking layout system.
PM> Install-Package AvaloniaDemo.Web -Version 11.0.0-build20221103-06 -Source https://www.myget.org/F/dock-nightly/api/v3/index.json
> nuget.exe install AvaloniaDemo.Web -Version 11.0.0-build20221103-06 -Source https://www.myget.org/F/dock-nightly/api/v3/index.json
> dotnet add package AvaloniaDemo.Web --version 11.0.0-build20221103-06 --source https://www.myget.org/F/dock-nightly/api/v3/index.json
source https://www.myget.org/F/dock-nightly/api/v3/index.json
nuget AvaloniaDemo.Web ~> 11.0.0-build20221103-06
Copy to clipboard
> choco install AvaloniaDemo.Web --version 11.0.0-build20221103-06 --source https://www.myget.org/F/dock-nightly/api/v2
Import-Module PowerShellGet
Register-PSRepository -Name "dock-nightly" -SourceLocation "https://www.myget.org/F/dock-nightly/api/v2"
Install-Module -Name "AvaloniaDemo.Web" -RequiredVersion "11.0.0-build20221103-06" -Repository "dock-nightly" -AllowPreRelease
Copy to clipboard
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:
Core packages:
Dock.Avalonia- Main Avalonia controls and themesDock.Model- Core model interfaces and base classes
Model packages:
Dock.Model.Mvvm- MVVM implementation with base view modelsDock.Model.ReactiveUI- ReactiveUI integrationDock.Model.ReactiveProperty- ReactiveProperty integrationDock.Model.Prism- Prism framework integrationDock.Model.Inpc- INotifyPropertyChanged base implementationDock.Model.Avalonia- Avalonia-specific model extensionsDock.Model.Extensions.DependencyInjection- .NET DI container integration
Serialization packages:
Dock.Serializer.Newtonsoft- JSON serialization using Newtonsoft.JsonDock.Serializer.SystemTextJson- JSON serialization using System.Text.JsonDock.Serializer.Protobuf- Binary serialization using protobuf-netDock.Serializer.Xml- XML serializationDock.Serializer.Yaml- YAML serialization
UI and control packages:
Dock.Avalonia.Themes.Fluent- Fluent theme stylesDock.Avalonia.Themes.Simple- Simple theme stylesDock.Avalonia.Diagnostics- Debugging and diagnostic toolsDock.Controls.ProportionalStackPanel- Resizable panel controlDock.Controls.Recycling- Control recycling utilitiesDock.Controls.Recycling.Model- Control recycling model interfacesDock.MarkupExtension- XAML markup extensionsDock.Settings- Global docking behavior settings
or by using nightly build feed:
- Add
https://www.myget.org/F/dock-nightly/api/v2to your package sources - Alternative nightly build feed
https://pkgs.dev.azure.com/wieslawsoltes/GitHub/_packaging/Nightly/nuget/v3/index.json - Update your package using
Dockfeed
and install the package like this:
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 patternsDockCodeOnlySample- 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.
-
.NETFramework 7.0
- Avalonia (>= 11.0.0-preview3)
- Avalonia.Web (>= 11.0.0-preview3)
- AvaloniaDemo.Base (>= 11.0.0-build20221103-06)
- .NETFramework 7.0: 7.0.0.0
OwnersWiesław Šoltés |
AuthorsWiesław Šoltés |
Project URLhttps://github.com/wieslawsoltes/Dock |
LicenseUnknown |
Tagsdock docking layout avalonia |
Info1 total downloads |
| 1 downloads for version 11.0.0-build20221103-06 |
| Download (5.53 KB) |
| Found on the current feed only |
Package history
| Version | Size | Last updated | Downloads | Mirrored? | |||
|---|---|---|---|---|---|---|---|
|
|
11.0.0-build20221103-06 | 5.53 KB | Thu, 03 Nov 2022 23:11:59 GMT | 1 |
|
||
|
|
11.0.0-build20221103-05 | 5.53 KB | Thu, 03 Nov 2022 22:29:20 GMT | 0 |
|
||
|
|
11.0.0-build20221103-03 | 5.53 KB | Thu, 03 Nov 2022 18:31:08 GMT | 0 |
|
||
|
|
11.0.0-build20221103-01 | 5.52 KB | Thu, 03 Nov 2022 14:20:01 GMT | 0 |
|
