Set the IsDefault property on the button to true to enable the Enter key to activate that button’s action. There is also the IsCancel property that does the same thing for the Escape key.
Set the IsDefault property on the button to true to enable the Enter key to activate that button’s action. There is also the IsCancel property that does the same thing for the Escape key.