Keyboard shortcuts in WPF
One way is to add your shortcut keys to the commands themselves them as InputGestures. Commands are implemented as RoutedCommands. This enables the shortcut keys to work even if they’re not hooked up to any controls. And since menu items understand keyboard gestures, they’ll automatically display your shortcut key in the menu items text, if … Read more