I've created my own Command implementing ICommand. I want this command to fire anywhere in the application what the user hits the KeyGesture just like the built in ApplicationCommands. How can I register my command so that it will work application wide? The examples I've found so far only show how to do this in one Window at a time, ie:
<Window.InputBindings>
<KeyBinding Command="Foo" Key="F2"/>
</Window.InputBindings>
How can I set this once and have it everywhere?
Thanks.