dotnet / wpf

WPF is a .NET Core UI framework for building Windows desktop applications.
MIT License
7.1k stars 1.17k forks source link

More MessageBox buttons #5795

Open danielchalmers opened 2 years ago

danielchalmers commented 2 years ago

WinForms already had more buttons available for their MessageBox and https://github.com/dotnet/winforms/pull/4746 adds more.

Buttons

System.Windows.MessageBoxButton

System.Windows.Forms.MessageBoxButtons

Results

System.Windows.MessageBoxResult

System.Windows.Forms.DialogResult

bstordrup commented 3 months ago

I would like this too. Since the internal implementation is using the MessageBox API from User32.dll, it does not make sense not including the same options as in WinForms.

bstordrup commented 3 months ago

The mentioned pull request for WinForms also adds the ability to show a Help button in the message box. Also a nice feature.