iNKORE-NET / UI.WPF.Modern

Modern (Fluent 2) styles and controls for your WPF applications
GNU Lesser General Public License v2.1
447 stars 39 forks source link

Using MessageBoxImage.None throw an exception #41

Closed JeremyAnsel closed 7 months ago

JeremyAnsel commented 7 months ago

Describe the bug Showing a message box with MessageBoxImage.None throw a System.FormatException exception.

To Reproduce Steps to reproduce the behavior:

  1. Run:
    iNKORE.UI.WPF.Modern.Controls.MessageBox.Show("message", "caption", MessageBoxButton.OK, MessageBoxImage.None);
  2. A System.FormatException exception is thrown.

Expected behavior The message should be shown.

Desktop (please complete the following information):