NoobNotFound.WinUI.MessageKit
1.0.0
There is a newer version of this package available.
See the version list below for details.
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" />
<PackageReference Include="NoobNotFound.WinUI.MessageKit" />
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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#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
#tool nuget:?package=NoobNotFound.WinUI.MessageKit&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
NoobNotFound.WinUI.MessageKit
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.
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 | Versions 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.
-
net8.0-windows10.0.19041
- Microsoft.Windows.SDK.BuildTools (>= 10.0.26100.4654)
- Microsoft.WindowsAppSDK (>= 1.7.250606001)
- System.Windows.Extensions (>= 9.0.7)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.