Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dialog: IsDefault and IsCancel #394

Open
chucker opened this issue Sep 19, 2022 · 0 comments
Open

Dialog: IsDefault and IsCancel #394

chucker opened this issue Sep 19, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@chucker
Copy link
Contributor

chucker commented Sep 19, 2022

It seems it isn't currently possible to assign default and cancel buttons to Dialog.

If I were to create those buttons manually, I could use IsDefault="True" or IsCancel="True". One of the effects would be that you can confirm or dismiss the dialog with the return and esc keys.

Describe the solution you'd like
There should be a pair of properties ButtonLeftIsDefault/ButtonLeftIsCancel, or maybe a property ButtonLeftRole that you can set to either Default or Cancel. (Same for ButtonRight….)

@chucker chucker added the enhancement New feature or request label Sep 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants