AvalonDock.Themes.WPFUI 1.2.2

dotnet add package AvalonDock.Themes.WPFUI --version 1.2.2
                    
NuGet\Install-Package AvalonDock.Themes.WPFUI -Version 1.2.2
                    
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="AvalonDock.Themes.WPFUI" Version="1.2.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AvalonDock.Themes.WPFUI" Version="1.2.2" />
                    
Directory.Packages.props
<PackageReference Include="AvalonDock.Themes.WPFUI" />
                    
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 AvalonDock.Themes.WPFUI --version 1.2.2
                    
#r "nuget: AvalonDock.Themes.WPFUI, 1.2.2"
                    
#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 AvalonDock.Themes.WPFUI@1.2.2
                    
#: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=AvalonDock.Themes.WPFUI&version=1.2.2
                    
Install as a Cake Addin
#tool nuget:?package=AvalonDock.Themes.WPFUI&version=1.2.2
                    
Install as a Cake Tool

AvalonDock.Themes.WPFUI

NuGet

A light and dark WPF UI theme for AvalonDock, supporting both DockingManager and ToggleDockingManager.

Targets .NET Framework 4.8 and .NET 10 WPF. Dependencies: AvalonDock 5.0.0 and WPF UI 4.3.0.

Preview

Layout Light Dark
Docking Docking light Docking dark
ToggleDocking ToggleDocking light ToggleDocking dark
Floating Floating light Floating dark
Docking preview Docking preview light Docking preview dark
Toggle preview Toggle preview light Toggle preview dark

Usage

dotnet add package AvalonDock.Themes.WPFUI

Merge the dictionaries at application scope in App.xaml:

<Application x:Class="YourApp.App"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml"
             StartupUri="MainWindow.xaml">
    <Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ui:ThemesDictionary Theme="Light" />
                <ui:ControlsDictionary />
                <ResourceDictionary Source="pack://application:,,,/AvalonDock.Themes.WPFUI;component/Theme.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Application.Resources>
</Application>

Replace YourApp with your namespace, then apply WPFUITheme to your manager:

<dock:DockingManager xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                     xmlns:dock="clr-namespace:AvalonDock;assembly=AvalonDock"
                     xmlns:layout="clr-namespace:AvalonDock.Layout;assembly=AvalonDock"
                     xmlns:theme="clr-namespace:AvalonDock.Themes.WPFUI;assembly=AvalonDock.Themes.WPFUI">
    <dock:DockingManager.Theme>
        <theme:WPFUITheme />
    </dock:DockingManager.Theme>
    <layout:LayoutRoot>
        <layout:LayoutPanel>
            <layout:LayoutDocumentPane>
                <layout:LayoutDocument Title="Document 1"
                                       ContentId="document-1">
                    <TextBlock Margin="24"
                               Text="Document content" />
                </layout:LayoutDocument>
            </layout:LayoutDocumentPane>
        </layout:LayoutPanel>
    </layout:LayoutRoot>
</dock:DockingManager>

Use the same theme with ToggleDockingManager. Complete layouts are in MainWindow.xaml.

Switch between Light and Dark through WPF UI:

using Wpf.Ui.Appearance;

ApplicationThemeManager.Apply(ApplicationTheme.Dark);

Example

The static UI showcase includes theme and docking-mode switches. Build on Windows with the .NET 10 SDK and .NET Framework 4.8 targeting pack:

dotnet build AvalonDock.Themes.WPFUI.slnx --configuration Release
dotnet run --project src/ExampleApp/ExampleApp.csproj --framework net10.0-windows

License

MIT.

Thanks to AakStudio.Shell.UI.Themes.AvalonDock.

Product Compatible and additional computed target framework versions.
.NET net10.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
1.2.2 42 9/27/2026
1.2.1 49 9/27/2026
1.2.0 90 9/21/2026
1.1.0 1,172 3/28/2025
1.0.8 269 3/3/2025
1.0.7 254 2/21/2025
1.0.6 211 2/19/2025
1.0.5 181 1/9/2025
1.0.4 233 12/20/2024
1.0.3 205 12/19/2024
1.0.2 193 12/19/2024
1.0.1 208 12/18/2024
1.0.0 197 12/18/2024