How can I handle the Keyboard.KeyDown event without using code-behind? We are trying to use the MVVM pattern and avoid writing an event handler in code-behind file.
Similar to karlipoppins answer, but I found it didn't work without the following additions/changes: