.NET Framework 4.5
There is a newer version of this package available.
See the version list below for details.
dotnet add package ModernMessageBoxLib --version
NuGet\Install-Package ModernMessageBoxLib -Version
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="ModernMessageBoxLib" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ModernMessageBoxLib --version
#r "nuget: ModernMessageBoxLib,"
#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.
// Install ModernMessageBoxLib as a Cake Addin
#addin nuget:?package=ModernMessageBoxLib&version=

// Install ModernMessageBoxLib as a Cake Tool
#tool nuget:?package=ModernMessageBoxLib&version=


ModernMessageBoxLib is a WPF library in .Net 4.5 By using ModernMessageBoxLib, you can create a ModernMessageBox with a single code.


Common usage




With a different color


Get Started

Before start using, you should specify Language and Background and Foreground. See QModernMessageBox.MainLang QModernMessageBox.GlobalBackground QModernMessageBox.GlobalForeground

In common cases, you can create a MetroMessageBox with the following code

    QModernMessageBox.Show("The quick brown fox jumps over the lazy dog.", "hello world",QModernMessageBox.QModernMessageBoxButtons.YesNoCancel,ModernMessageboxIcons.Warning);

Or using the QT way:

QModernMessageBox.Warning("The quick brown fox jumps over the lazy dog.", "hello world");


                var msg = new ModernMessageBox("The quick brown fox jumps over the lazy dog.\n", "hello world", ModernMessageboxIcons.Info, "CSharp", "Java",
                "Python") {
                Button1Key = Key.D1,
                Button2Key = Key.D2,
                Button3Key = Key.D3,
                CheckboxText = "Don't show this again",
                CheckboxVisibility = Visibility.Visible

See more in the XML document comment.

Product Compatible and additional computed target framework versions.
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

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.3.1 5,933 7/31/2020
1.3.0 4,396 1/15/2019
1.2.0 837 9/23/2018
1.1.0 721 9/17/2018
1.0.1 737 9/7/2018 766 9/2/2018

Publish ModernMessageBoxLib.