34 references to KeyGesture
PresentationCore (2)
System\Windows\Input\Command\KeyBinding.cs (1)
64this(command, new KeyGesture(key, modifiers))
System\Windows\Input\Command\KeyGesture.cs (1)
46: this(key, ModifierKeys.None)
PresentationFramework (30)
MS\Internal\Commands\CommandHelpers.cs (1)
79PrivateRegisterCommandHandler(controlType, command, executedRoutedEventHandler, canExecuteRoutedEventHandler, new KeyGesture(key, modifierKeys));
System\Windows\Controls\DocumentViewer.cs (16)
1515new KeyGesture(Key.D2, ModifierKeys.Control)); 1645new KeyGesture(Key.Add, ModifierKeys.Control), 1647new KeyGesture(Key.Add, ModifierKeys.Shift | ModifierKeys.Control), 1649new KeyGesture(Key.OemPlus, ModifierKeys.Control), 1651new KeyGesture(Key.OemPlus, ModifierKeys.Shift | ModifierKeys.Control)); 1661new KeyGesture(Key.Subtract, ModifierKeys.Control), 1663new KeyGesture(Key.Subtract, ModifierKeys.Shift | ModifierKeys.Control), 1665new KeyGesture(Key.OemMinus, ModifierKeys.Control), 1667new KeyGesture(Key.OemMinus, ModifierKeys.Shift | ModifierKeys.Control)); 1674new KeyGesture(Key.PageUp, ModifierKeys.Control)); 1681new KeyGesture(Key.PageDown, ModifierKeys.Control)); 1688new KeyGesture(Key.Home, ModifierKeys.Control)); 1695new KeyGesture(Key.End, ModifierKeys.Control)); 1706new KeyGesture(Key.D1, ModifierKeys.Control)); 1716new KeyGesture(Key.D3, ModifierKeys.Control)); 1726new KeyGesture(Key.D4, ModifierKeys.Control));
System\Windows\Controls\FlowDocumentReader.cs (2)
1369executedHandler, canExecuteHandler, new KeyGesture(Key.OemPlus, ModifierKeys.Control)); 1373executedHandler, canExecuteHandler, new KeyGesture(Key.OemMinus, ModifierKeys.Control));
System\Windows\Controls\FlowDocumentScrollViewer.cs (4)
1363executedHandler, canExecuteHandler, new KeyGesture(Key.Home), new KeyGesture(Key.Home, ModifierKeys.Control)); 1367executedHandler, canExecuteHandler, new KeyGesture(Key.End), new KeyGesture(Key.End, ModifierKeys.Control)); 1371executedHandler, canExecuteHandler, new KeyGesture(Key.OemPlus, ModifierKeys.Control)); 1375executedHandler, canExecuteHandler, new KeyGesture(Key.OemMinus, ModifierKeys.Control));
System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
1485executedHandler, canExecuteHandler, new KeyGesture(Key.P, ModifierKeys.Control));
System\Windows\Controls\Primitives\ScrollBar.cs (2)
706CommandHelpers.RegisterCommandHandler(typeof(ScrollBar), ScrollBar.ScrollToTopCommand, onScrollCommand, onQueryScrollCommand, new KeyGesture(Key.Home, ModifierKeys.Control)); 707CommandHelpers.RegisterCommandHandler(typeof(ScrollBar), ScrollBar.ScrollToBottomCommand, onScrollCommand, onQueryScrollCommand, new KeyGesture(Key.End, ModifierKeys.Control));
System\Windows\Controls\SinglePageViewer.cs (4)
1266executedHandler, canExecuteHandler, new KeyGesture(Key.OemPlus, ModifierKeys.Control)); 1270executedHandler, canExecuteHandler, new KeyGesture(Key.OemMinus, ModifierKeys.Control)); 1280CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.FirstPage, new KeyGesture(Key.Home, ModifierKeys.Control))); 1282CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.LastPage, new KeyGesture(Key.End, ModifierKeys.Control)));
PresentationUI (2)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (2)
2084input.Add(new KeyGesture(Key.F6, ModifierKeys.Control)); 2093DocumentViewer.ViewThumbnailsCommand.InputGestures.Add(new KeyGesture(Key.D5, ModifierKeys.Control));