42 references to KeyGesture
PresentationCore (2)
Core\CSharp\System\Windows\Input\Command\KeyBinding.cs (1)
71this(command, new KeyGesture(key, modifiers))
Core\CSharp\System\Windows\Input\Command\KeyGesture.cs (1)
48: this(key, ModifierKeys.None)
PresentationFramework (30)
src\Framework\MS\Internal\Commands\CommandHelpers.cs (1)
82PrivateRegisterCommandHandler(controlType, command, executedRoutedEventHandler, canExecuteRoutedEventHandler, new KeyGesture(key, modifierKeys));
src\Framework\System\Windows\Controls\DocumentViewer.cs (16)
1540new KeyGesture(Key.D2, ModifierKeys.Control)); 1670new KeyGesture(Key.Add, ModifierKeys.Control), 1672new KeyGesture(Key.Add, ModifierKeys.Shift | ModifierKeys.Control), 1674new KeyGesture(Key.OemPlus, ModifierKeys.Control), 1676new KeyGesture(Key.OemPlus, ModifierKeys.Shift | ModifierKeys.Control)); 1686new KeyGesture(Key.Subtract, ModifierKeys.Control), 1688new KeyGesture(Key.Subtract, ModifierKeys.Shift | ModifierKeys.Control), 1690new KeyGesture(Key.OemMinus, ModifierKeys.Control), 1692new KeyGesture(Key.OemMinus, ModifierKeys.Shift | ModifierKeys.Control)); 1699new KeyGesture(Key.PageUp, ModifierKeys.Control)); 1706new KeyGesture(Key.PageDown, ModifierKeys.Control)); 1713new KeyGesture(Key.Home, ModifierKeys.Control)); 1720new KeyGesture(Key.End, ModifierKeys.Control)); 1731new KeyGesture(Key.D1, ModifierKeys.Control)); 1741new KeyGesture(Key.D3, ModifierKeys.Control)); 1751new KeyGesture(Key.D4, ModifierKeys.Control));
src\Framework\System\Windows\Controls\FlowDocumentReader.cs (2)
1375executedHandler, canExecuteHandler, new KeyGesture(Key.OemPlus, ModifierKeys.Control)); 1379executedHandler, canExecuteHandler, new KeyGesture(Key.OemMinus, ModifierKeys.Control));
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (4)
1371executedHandler, canExecuteHandler, new KeyGesture(Key.Home), new KeyGesture(Key.Home, ModifierKeys.Control)); 1375executedHandler, canExecuteHandler, new KeyGesture(Key.End), new KeyGesture(Key.End, ModifierKeys.Control)); 1379executedHandler, canExecuteHandler, new KeyGesture(Key.OemPlus, ModifierKeys.Control)); 1383executedHandler, canExecuteHandler, new KeyGesture(Key.OemMinus, ModifierKeys.Control));
src\Framework\System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
1497executedHandler, canExecuteHandler, new KeyGesture(Key.P, ModifierKeys.Control));
src\Framework\System\Windows\Controls\Primitives\ScrollBar.cs (2)
711CommandHelpers.RegisterCommandHandler(typeof(ScrollBar), ScrollBar.ScrollToTopCommand, onScrollCommand, onQueryScrollCommand, new KeyGesture(Key.Home, ModifierKeys.Control)); 712CommandHelpers.RegisterCommandHandler(typeof(ScrollBar), ScrollBar.ScrollToBottomCommand, onScrollCommand, onQueryScrollCommand, new KeyGesture(Key.End, ModifierKeys.Control));
src\Framework\System\Windows\Controls\SinglePageViewer.cs (4)
1273executedHandler, canExecuteHandler, new KeyGesture(Key.OemPlus, ModifierKeys.Control)); 1277executedHandler, canExecuteHandler, new KeyGesture(Key.OemMinus, ModifierKeys.Control)); 1287CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.FirstPage, new KeyGesture(Key.Home, ModifierKeys.Control))); 1289CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.LastPage, new KeyGesture(Key.End, ModifierKeys.Control)));
System.Activities.Presentation (10)
System.Activities.Presentation\System\Activities\Presentation\DefaultCommandExtensionCallback.cs (10)
39new KeyGesture(Key.Add, ModifierKeys.Control) }); 43new KeyGesture(Key.Subtract, ModifierKeys.Control) }); 69new List<KeyGesture> { new KeyGesture(Key.X, ModifierKeys.Control) }); 71new List<KeyGesture> { new KeyGesture(Key.C, ModifierKeys.Control) }); 73new List<KeyGesture> { new KeyGesture(Key.V, ModifierKeys.Control) }); 75new List<KeyGesture> { new KeyGesture(Key.A, ModifierKeys.Control) }); 77new List<KeyGesture> { new KeyGesture(Key.Z, ModifierKeys.Control) }); 79new List<KeyGesture> { new KeyGesture(Key.Y, ModifierKeys.Control) }); 81new List<KeyGesture> { new KeyGesture(Key.Decimal, ModifierKeys.Alt) }); 83new List<KeyGesture> { new KeyGesture(Key.OemComma, ModifierKeys.Alt) });