I have added to AvalonDock.MVVMTestApp some input bindings:
<Window.InputBindings>
<KeyBinding Gesture="Ctrl+N" Command="{Binding NewCommand}"/>
<KeyBinding Gesture="Ctrl+O" Command="{Binding OpenCommand}"/>
<KeyBinding Gesture="Ctrl+S" Command="{Binding ActiveDocument.SaveCommand}"/>
</Window.InputBindings>
But they aren't working until I activate the menu, or create a document and activate it.
<Window.InputBindings>
<KeyBinding Gesture="Ctrl+N" Command="{Binding NewCommand}"/>
<KeyBinding Gesture="Ctrl+O" Command="{Binding OpenCommand}"/>
<KeyBinding Gesture="Ctrl+S" Command="{Binding ActiveDocument.SaveCommand}"/>
</Window.InputBindings>
But they aren't working until I activate the menu, or create a document and activate it.