Dialog: `IsDefault` and `IsCancel`
Open
@pomianowski is already working on this.
Since Sep 19, 2022.
enhancement
- Dominant language
- C#
- Stars
- 9.6k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
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….)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.