Skip to content

Conversation

@pfattisc
Copy link

What changed?

The MessageDialogResult can be set for occasions the user aborts a dialog with ESC key.

Describe the changes you have made to improve this project.
MetroDialogSettings: New nullable property MessageDialogResult? DialogResultOnCancel.
If set MessageDialog returns the value when the user aborts the dialog with ESC key.
If not set (i.e. NULL) the behavior is as before (depends on the MessageDialogStyle).

Closed issues.
Fixes #2619

Marco Pfattischer and others added 14 commits July 22, 2017 11:32
  to resolve issue # 2619

--HG--
branch : fix_2619
  Select Escape button result of MetroDialog

MessageDialogSettings:
----------------------
New Nullable Property MessageDialogResult? DialogResultOnCancel.
Determines the MessageDialogResult when a user hits the "ESC" key.
If not set (NULL) the default behavior remains intact.

MessageDialog:
--------------
Checks if DialogResultOnCancel is set when "ESC" key is hit.

--HG--
branch : fix_2619
@punker76 punker76 added this to the 1.6.0 milestone Jan 13, 2018
@punker76 punker76 closed this Jan 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants