Using the escape key to close a WPF window

After being disappointed with Android development, I’m ramping back up on WPF.  I have a full screen app and no buttons visible, so I would like to implement the ESC key to close the window instead of using ALT+F4. Looking around the net, I can do this by...