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