Skip to content

Dialog: IsDefault and IsCancel  #394

@chucker

Description

@chucker

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….)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions