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