Proper way to implement keyboard bindings in WPF Prism application

Topics: Prism v2 - WPF 3.5, Prism v2 - WPF 4, Prism v4 - WPF 4
Aug 21, 2012 at 11:15 AM

My Application window contains Two regions i.e. left & right and i have defined a keybinding in view of left region which contains button and combobox. And this is not working as expected when you press key on application starts beause of focusing issue as we are not focusing left region (Works well if you set focus on that region by selecting combobox).

Aug 21, 2012 at 2:47 PM


Take into account that when using key inputs you need to make sure that the control that has the input binding is focused in order for the binding to work.

For more information regarding this, I believe, you could find the following resources interesting:

I hope you find this helpful,

Agustin Adami