34 references to KeyGesture
PresentationCore (2)
System\Windows\Input\Command\KeyBinding.cs (1)
55this(command, new KeyGesture(key, modifiers))
System\Windows\Input\Command\KeyGesture.cs (1)
42: this(key, ModifierKeys.None)
PresentationFramework (30)
MS\Internal\Commands\CommandHelpers.cs (1)
73PrivateRegisterCommandHandler(controlType, command, executedRoutedEventHandler, canExecuteRoutedEventHandler, new KeyGesture(key, modifierKeys));
System\Windows\Controls\DocumentViewer.cs (16)
1445new KeyGesture(Key.D2, ModifierKeys.Control)); 1575new KeyGesture(Key.Add, ModifierKeys.Control), 1577new KeyGesture(Key.Add, ModifierKeys.Shift | ModifierKeys.Control), 1579new KeyGesture(Key.OemPlus, ModifierKeys.Control), 1581new KeyGesture(Key.OemPlus, ModifierKeys.Shift | ModifierKeys.Control)); 1591new KeyGesture(Key.Subtract, ModifierKeys.Control), 1593new KeyGesture(Key.Subtract, ModifierKeys.Shift | ModifierKeys.Control), 1595new KeyGesture(Key.OemMinus, ModifierKeys.Control), 1597new KeyGesture(Key.OemMinus, ModifierKeys.Shift | ModifierKeys.Control)); 1604new KeyGesture(Key.PageUp, ModifierKeys.Control)); 1611new KeyGesture(Key.PageDown, ModifierKeys.Control)); 1618new KeyGesture(Key.Home, ModifierKeys.Control)); 1625new KeyGesture(Key.End, ModifierKeys.Control)); 1636new KeyGesture(Key.D1, ModifierKeys.Control)) 1648new KeyGesture(Key.D3, ModifierKeys.Control)) 1660new KeyGesture(Key.D4, ModifierKeys.Control))
System\Windows\Controls\FlowDocumentReader.cs (2)
1352executedHandler, canExecuteHandler, new KeyGesture(Key.OemPlus, ModifierKeys.Control)); 1356executedHandler, canExecuteHandler, new KeyGesture(Key.OemMinus, ModifierKeys.Control));
System\Windows\Controls\FlowDocumentScrollViewer.cs (4)
1338executedHandler, canExecuteHandler, new KeyGesture(Key.Home), new KeyGesture(Key.Home, ModifierKeys.Control)); 1342executedHandler, canExecuteHandler, new KeyGesture(Key.End), new KeyGesture(Key.End, ModifierKeys.Control)); 1346executedHandler, canExecuteHandler, new KeyGesture(Key.OemPlus, ModifierKeys.Control)); 1350executedHandler, canExecuteHandler, new KeyGesture(Key.OemMinus, ModifierKeys.Control));
System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
1451executedHandler, canExecuteHandler, new KeyGesture(Key.P, ModifierKeys.Control));
System\Windows\Controls\Primitives\ScrollBar.cs (2)
691CommandHelpers.RegisterCommandHandler(typeof(ScrollBar), ScrollBar.ScrollToTopCommand, onScrollCommand, onQueryScrollCommand, new KeyGesture(Key.Home, ModifierKeys.Control)); 692CommandHelpers.RegisterCommandHandler(typeof(ScrollBar), ScrollBar.ScrollToBottomCommand, onScrollCommand, onQueryScrollCommand, new KeyGesture(Key.End, ModifierKeys.Control));
System\Windows\Controls\SinglePageViewer.cs (4)
1252executedHandler, canExecuteHandler, new KeyGesture(Key.OemPlus, ModifierKeys.Control)); 1256executedHandler, canExecuteHandler, new KeyGesture(Key.OemMinus, ModifierKeys.Control)); 1266CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.FirstPage, new KeyGesture(Key.Home, ModifierKeys.Control))); 1268CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.LastPage, new KeyGesture(Key.End, ModifierKeys.Control)));
PresentationUI (2)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (2)
2070input.Add(new KeyGesture(Key.F6, ModifierKeys.Control)); 2079DocumentViewer.ViewThumbnailsCommand.InputGestures.Add(new KeyGesture(Key.D5, ModifierKeys.Control));