What's the best method for intercepting key presses and handling them in a WPF app, avoiding the control with focus getting the keypress?
I need the application to handle a sequence of key presses (including arrow keys) and avoid a control with focus (i.e. Treeview) getting the key press events. I've seen ways of doing this with interop but was hoping there was support for this natively within a WPF application?
Thanks.