-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Milestone
Description
What steps will reproduce this issue?
Set DefaultButtonFocus to something other than the Affirmative button for MessageDialogSettings and call the MetroWindow's ShowMessageAsync.
Expected outcome
Highlighted button is set to the default button. Why? Because users are under the impression that the highlighted button is what will be selected when they hit the Enter key. This does not seem to be something that can be overridden though:
https://github.com/MahApps/MahApps.Metro/blob/develop/src/MahApps.Metro/MahApps.Metro/Themes/Dialogs/MessageDialog.xaml#L35
Other than making the Affirmative button look like the others there doesn't appear that I can do much of anything else to the style to highlight the actual default button.
--
Environment
- MahApps.Metro v1.3.0
- Windows 10
- Visual Studio 2015
- .NET Framework 4.5.2