Hi
I’m trying to get keyboard shortcuts to work inside several tab items. However, keyboard shortcuts only work after you click on something/anything inside of the tab. Clicking on the Tab header is not enough.
I have tried focusing on the first child in code when the tab is selected but that doesn’t work, it's only after a mouse click inside the tab that it starts to work.
<telerik:RadTabItem Header="Item X" >
<telerik:RadTabItem.InputBindings>
<KeyBinding Key="N" Modifiers="Ctrl" Command="{Binding NewItemXCommand}" />
<KeyBinding Key="R" Modifiers="Ctrl" Command="{Binding ReloadItemXCommand}" />
</telerik:RadTabItem.InputBindings>
<Grid>
<!-- Content -->
</Grid>
</telerik:RadTabItem>
<telerik:RadTabItem Header="Item Y" >
<telerik:RadTabItem.InputBindings>
<KeyBinding Key="N" Modifiers="Ctrl" Command="{Binding NewItemYCommand}" />
<KeyBinding Key="R" Modifiers="Ctrl" Command="{Binding ReloadItemYCommand}" />
</telerik:RadTabItem.InputBindings>
<Grid>
<!-- Content -->
</Grid>
</telerik:RadTabItem>
Any advice you can offer would be appreciated.
Thanks,
Richard