Darkraise.WpfEx 1.0.1

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

Darkraise.WpfEx

A WPF application layer for the Darkraise Framework: custom MVVM, runtime light/dark theming with accent presets, themed styles for the standard controls, dialogs, and a large icon set. Zero third-party dependencies — it builds on WPF and the core Darkraise library only.

dotnet add package Darkraise.WpfEx

Highlights

  • MVVM without ceremonyDarkraiseApplication wires the DI container, scans for view models and resolves views by convention (FooViewModelFooView). Screens get lifecycle hooks, Resolve<T>(), a logger, dialogs and IsBusy.
  • Theming — light and dark at runtime, 15 accent presets, WCAG-aware color helpers, and a themed style for every common control.
  • IconsDarkraiseIcon exposes roughly 1900 Lucide icons by IconKind, with fill, stroke width and custom geometry support.
  • DialogsIDialogService with message, error, confirmation and multi-button dialogs, usable straight from a view model.
  • View model bases — list, editor, collection and pagination bases, with editor and delete-confirmation flows already wired to the dialog service.
  • ExtrasAnimate (spin, bounce, pulse, ping), HotKeyTextBox, NumericTextBox, Pagination, converters and attached-property helpers, plus a single-instance ResourceMutex.

Quick start

Apply a theme in App.xaml:

<Application.Resources>
    <theming:DarkraiseThemeDictionary
        xmlns:theming="clr-namespace:Darkraise.WpfEx.Theming;assembly=Darkraise.WpfEx"
        Theme="Dark"
        Accent="Blue" />
</Application.Resources>

Derive your application from DarkraiseApplication:

public class App : DarkraiseApplication
{
    protected override void ConfigureServices(IServiceRegistry services)
    {
        services.AddSingleton<IMyService, MyService>();
    }
}

[RootViewModel]
public class ShellViewModel : OneActiveConductor<DarkraiseScreen>
{
    protected override async Task OnInitializedAsync(CancellationToken ct)
    {
        await ActivateItemAsync(Resolve<HomeViewModel>());
    }
}

Switch themes at runtime, and use dialogs and icons from anywhere:

ThemeManager.SetTheme(AppTheme.Dark);
ThemeManager.ToggleTheme();

var confirmed = await Dialog.ShowConfirmationAsync("Delete this item?", "Confirm");
<controls:DarkraiseIcon Kind="Heart" Size="24" IsFilled="True"
                        xmlns:controls="clr-namespace:Darkraise.WpfEx.Controls;assembly=Darkraise.WpfEx" />

Requirements

Targets net10.0-windows with UseWPF, so consuming projects need the same:

<TargetFramework>net10.0-windows</TargetFramework>
<UseWPF>true</UseWPF>

License

MIT. Embedded icon geometry derives from the Lucide icon set (ISC) — see THIRD-PARTY-NOTICES.md.

Product Compatible and additional computed target framework versions.
.NET net10.0-windows7.0 is compatible. 
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.0.1 93 8/15/2026
1.0.0 89 8/15/2026