<Window.InputBindings> <KeyBinding Gesture="Ctrl+Alt+Q" Command="{Binding YourVMCommand}"/> </Window.InputBindings>
Menu设置快捷键
<MenuItem Header="文件(_F)">