Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wherewhere/ModernWpf.MessageBox
A drop-in replacement for System.Windows.MessageBox using a modern WPF UI.
https://github.com/wherewhere/ModernWpf.MessageBox
messagebox modernwpf winui wpf
Last synced: 13 days ago
JSON representation
A drop-in replacement for System.Windows.MessageBox using a modern WPF UI.
- Host: GitHub
- URL: https://github.com/wherewhere/ModernWpf.MessageBox
- Owner: wherewhere
- License: mit
- Fork: true (OpenByteDev/ModernWpf.MessageBox)
- Created: 2022-01-04T14:27:29.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-07-10T09:44:35.000Z (over 1 year ago)
- Last Synced: 2024-09-30T07:17:58.062Z (about 1 month ago)
- Topics: messagebox, modernwpf, winui, wpf
- Language: C#
- Homepage:
- Size: 116 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ModernWpf.MessageBox
[![nuget badge](https://badgen.net/nuget/v/modernwpf.messagebox)](https://www.nuget.org/packages/ModernWpf.MessageBox/)
[![Unlicense](https://img.shields.io/github/license/OpenByteDev/ModernWpf.MessageBox)](./LICENSE)A drop-in replacement for `System.Windows.MessageBox` (and `System.Windows.Forms.MessageBox`) built using a [Modern WPF UI](https://github.com/Kinnara/ModernWpf).
## Installation
To install with NuGet use the following command in the Packet Manager Console:
```
Install-Package ModernWpf.MessageBox
```## Usage
A simple usage example:
```cs
MessageBox.Show("This is a test text!", "Some title", MessageBoxButton.YesNoCancel, MessageBoxImage.Question);
```
**ModernWPF.MessageBox**![ModernWpf.MessageBox](https://raw.githubusercontent.com/OpenByteDev/ModernWpf.MessageBox/master/screenshots/Screenshot-01.png)
**System.Windows.MessageBox**
![System.WindowsMessageBox](https://raw.githubusercontent.com/OpenByteDev/ModernWpf.MessageBox/master/screenshots/Screenshot-02.png)