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….)
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"orIsCancel="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 propertyButtonLeftRolethat you can set to eitherDefaultorCancel. (Same forButtonRight….)