Hi.
I have a main window with several RadGridViews and InputBindings set up on the main Window to fire Commands of my ViewModel class. Works fine, as long as the focus is not within a RadGridView. When focus is within a RadGridView, the commands are not triggered. If I repeat the keybindings for each RadGridView e.g add:
to each of my gridview XAML blocks, then the commands will be triggered correctly. But I would like to avoid having to repeat the bindings (there will be many).
How can I avoid the RadGridView capturing these keystrokes?
(I've tried this post, but that doesn't work with key modifiers, since it fires as soon as CTRL is pressed).
I have a main window with several RadGridViews and InputBindings set up on the main Window to fire Commands of my ViewModel class. Works fine, as long as the focus is not within a RadGridView. When focus is within a RadGridView, the commands are not triggered. If I repeat the keybindings for each RadGridView e.g add:
<
telerik:RadGridView.InputBindings
>
<
KeyBinding
Key
=
"A"
Modifiers
=
"Ctrl"
Command
=
"{Binding MyCommand}"
/>
</
telerik:RadGridView.InputBindings
>
to each of my gridview XAML blocks, then the commands will be triggered correctly. But I would like to avoid having to repeat the bindings (there will be many).
How can I avoid the RadGridView capturing these keystrokes?
(I've tried this post, but that doesn't work with key modifiers, since it fires as soon as CTRL is pressed).