dotnet / wpf

WPF is a .NET Core UI framework for building Windows desktop applications.
MIT License
7.07k stars 1.16k 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 2 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 2 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.