views:

314

answers:

0

I have a reusable usercontrol that uses a few commands and corresponding keyboard gestures, (specifically Escape and Ctrl+1...Ctrl+9)

Now as I use this usercontrol in multiple locations I'd like to define the input gestures in the usercontrol, which works fine as long as the focus is within the usercontrol. However, I'd need it to work as long as focus is within the current page/window.

How can I do it, or do I really have to do command/input bindings on every page?