NuExt.Minimal.Mvvm.AvalonDock 0.9.3

Prefix Reserved
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package NuExt.Minimal.Mvvm.AvalonDock --version 0.9.3
                    
NuGet\Install-Package NuExt.Minimal.Mvvm.AvalonDock -Version 0.9.3
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="NuExt.Minimal.Mvvm.AvalonDock" Version="0.9.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NuExt.Minimal.Mvvm.AvalonDock" Version="0.9.3" />
                    
Directory.Packages.props
<PackageReference Include="NuExt.Minimal.Mvvm.AvalonDock" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add NuExt.Minimal.Mvvm.AvalonDock --version 0.9.3
                    
#r "nuget: NuExt.Minimal.Mvvm.AvalonDock, 0.9.3"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package NuExt.Minimal.Mvvm.AvalonDock@0.9.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=NuExt.Minimal.Mvvm.AvalonDock&version=0.9.3
                    
Install as a Cake Addin
#tool nuget:?package=NuExt.Minimal.Mvvm.AvalonDock&version=0.9.3
                    
Install as a Cake Tool

NuExt.Minimal.Mvvm.AvalonDock

NuExt.Minimal.Mvvm.AvalonDock integrates AvalonDock with NuExt.Minimal.Mvvm.Wpf, providing MVVM infrastructure for dockable documents and tool windows.

NuGet Ask DeepWiki Build License Downloads

Compatibility

  • WPF on .NET 8/9/10/11 and .NET Framework 4.8+
  • AvalonDock 5

Installation

Via NuGet:

dotnet add package NuExt.Minimal.Mvvm.AvalonDock

Or via Visual Studio:

  1. Go to Tools -> NuGet Package Manager -> Manage NuGet Packages for Solution....
  2. Search for NuExt.Minimal.Mvvm.AvalonDock.
  3. Click Install.

Usage

Attach the required services to an AvalonDock docking manager:

<avalonDock:DockingManager>
  <nx:Interaction.Behaviors>
    <nx:AvalonDockDocumentService x:Name="Documents" />
    <nx:AvalonDockToolWindowService x:Name="Tools" />
  </nx:Interaction.Behaviors>
</avalonDock:DockingManager>

The services are available to ViewModels as named services:

public IAsyncDocumentManagerService DocumentManagerService =>
    GetRequiredService<IAsyncDocumentManagerService>("Documents");

public IAsyncToolWindowManagerService ToolWindowManagerService =>
    GetRequiredService<IAsyncToolWindowManagerService>("Tools");

Tool windows

IToolWindow toolWindow = await ToolWindowManagerService.CreateToolWindowAsync(
    toolWindowType: nameof(PropertiesView),
    viewModelFactory: static () => new PropertiesViewModel(),
    parentViewModel: this,
    parameter: null,
    options: new ToolWindowOptions
    {
        Id = "Properties",
        Title = "Properties",
        Placement = ToolWindowPlacement.Left,
        CanFloat = false,
        CanDockAsTabbedDocument = false
    },
    cancellationToken: cancellationToken);

toolWindow.Show();

Tool windows are long-lived UI panels. Show() displays and activates a panel, while Hide() hides or collapses it without disposing its ViewModel. The tool window manager owns created ViewModels and disposes them during service cleanup.

A tool window can be retrieved by its identifier:

ToolWindowManagerService.FindToolWindowById("Properties")?.Show();

ToggleDockingManager

AvalonDockToolWindowService supports ToggleDockingManager:

<avalonDock:ToggleDockingManager>
  <nx:Interaction.Behaviors>
    <nx:AvalonDockDocumentService x:Name="Documents" />
    <nx:AvalonDockToolWindowService x:Name="Tools" />
  </nx:Interaction.Behaviors>
</avalonDock:ToggleDockingManager>

Tool windows managed by ToggleDockingManager must be created before the manager is loaded. Their initial side is configured through ToolWindowOptions.Placement.

Ecosystem

Contributing

Issues and PRs are welcome. Keep changes minimal and performance-conscious.

License

MIT. See LICENSE.

Product Compatible and additional computed target framework versions.
.NET net8.0-windows7.0 is compatible.  net9.0-windows was computed.  net9.0-windows7.0 is compatible.  net10.0-windows was computed.  net10.0-windows7.0 is compatible.  net11.0-windows7.0 is compatible. 
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.9.6-pre 50 11/20/2026
0.9.5-pre 93 11/20/2026
0.9.4-pre 74 11/15/2026
0.9.3 108 11/12/2026
0.9.1-pre 63 11/10/2026
0.9.0-pre 67 11/9/2026
0.8.8-pre 55 11/9/2026