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
On Windows shown with ShowDialog() you can use:
Window
ShowDialog()