Is there any straightforward way of telling the whole WPF application to react to Escape key presses by attempting to close the currently focused widow? It is not a great bo
Or you could just add a button with Cancel as text and set IsCancel = True. Then Escape will work as default command to close.
IsCancel = True