NoobNotFound.WinUI.MessageKit 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package NoobNotFound.WinUI.MessageKit --version 1.0.0
                    
NuGet\Install-Package NoobNotFound.WinUI.MessageKit -Version 1.0.0
                    
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="NoobNotFound.WinUI.MessageKit" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NoobNotFound.WinUI.MessageKit" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="NoobNotFound.WinUI.MessageKit" />
                    
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 NoobNotFound.WinUI.MessageKit --version 1.0.0
                    
#r "nuget: NoobNotFound.WinUI.MessageKit, 1.0.0"
                    
#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 NoobNotFound.WinUI.MessageKit@1.0.0
                    
#: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=NoobNotFound.WinUI.MessageKit&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=NoobNotFound.WinUI.MessageKit&version=1.0.0
                    
Install as a Cake Tool

NoobNotFound.WinUI.MessageKit

GitHub code size in bytes Static Badge

A modern, feature-rich message dialog framework for WinUI 3 applications. This library provides an elegant alternative to traditional message boxes with enhanced customization, theming, and user experience features.

🎥 Watch the MessageKit demo

Features

  • 🎨 Modern WinUI 3 Design - Seamlessly integrates with your app's theme
  • 🔊 System Sounds - Built-in sound effects for different message types
  • ⏱️ Timeout Support - Auto-dismiss dialogs after specified time
  • 🌐 Localization Ready - Easy text localization support
  • 🎭 Multiple Icons - Information, Warning, Error, Question, Success, and Custom icons
  • 🔘 Flexible Buttons - Predefined button sets or fully custom buttons
  • 📱 Queue Management - Prevents dialog conflicts with built-in queueing
  • 🎯 Response Metadata - Track response times and additional context
  • 🎨 Theme Aware - Automatic light/dark theme support
  • Async/Await - Modern async API throughout

Basic Setup

First, configure the library in your App.xaml.cs or main window:

using NoobNotFound.WinUI.MessageKit;

// Set the XamlRoot provider (usually in your MainWindow)
Core.XamlRootProvider = () => MainWindow.Content.XamlRoot;

// Optional: Configure theme provider
Core.ThemeProvider = () => ActualTheme;

// Optional: Configure localization
Core.LocalizationProvider = text => ResourceManager.GetString(text);

Simple Usage

// Simple information message
await MessageBox.ShowAsync("Hello, World!");

// Message with title
await MessageBox.ShowAsync("Success", "Operation completed successfully!");

// Confirmation dialog
var response = await MessageBox.ShowConfirmationAsync(
    "Delete File", 
    "Are you sure you want to delete this file?"
);

if (response.Result == MessageBoxResult.Yes)
{
    // User confirmed
}
Product Compatible and additional computed target framework versions.
.NET net8.0-windows10.0.19041 is compatible.  net9.0-windows was computed.  net10.0-windows 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.0.3 222 8/5/2025
1.0.2 155 8/4/2025
1.0.1 66 8/1/2025
1.0.0 72 8/1/2025