XAML - How to have global inputBindings?
I have a WPF application with several windows. I would like to define GLOBAL inputBindings. To define LOCAL inputbindings, i just declare the input in Window.InputBindings or UserControl.InputBindings. To define GLOBALs, I wish i could do the same with the Application class... <Application ....> <Application.InputBindings> ... </Application.InputBindings> If i have the same binding in 2 different windows, i have to code it twice. This doesn't meet D.R.Y.'s philosophy and i guess there is a better way... EDIT : in his answer Kent Boogaart advices me to use Style. Unfortunately, i can't figure