41 references to KeyGesture
Microsoft.VisualStudio.LanguageServices (7)
GenerateType\GenerateTypeDialog.xaml.cs (5)
52
new InputGestureCollection(new List<InputGesture> { new
KeyGesture
(Key.A, ModifierKeys.Alt) })),
59
new InputGestureCollection(new List<InputGesture> { new
KeyGesture
(Key.K, ModifierKeys.Alt) })),
66
new InputGestureCollection(new List<InputGesture> { new
KeyGesture
(Key.P, ModifierKeys.Alt) })),
73
new InputGestureCollection(new List<InputGesture> { new
KeyGesture
(Key.C, ModifierKeys.Alt) })),
80
new InputGestureCollection(new List<InputGesture> { new
KeyGesture
(Key.X, ModifierKeys.Alt) })),
PickMembers\PickMembersDialog.xaml.cs (2)
51
new InputGestureCollection(new List<InputGesture> { new
KeyGesture
(Key.S, ModifierKeys.Alt) })),
58
new InputGestureCollection(new List<InputGesture> { new
KeyGesture
(Key.D, ModifierKeys.Alt) })),
PresentationCore (2)
System\Windows\Input\Command\KeyBinding.cs (1)
64
this(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)
79
PrivateRegisterCommandHandler(controlType, command, executedRoutedEventHandler, canExecuteRoutedEventHandler, new
KeyGesture
(key, modifierKeys));
System\Windows\Controls\DocumentViewer.cs (16)
1515
new
KeyGesture
(Key.D2, ModifierKeys.Control));
1645
new
KeyGesture
(Key.Add, ModifierKeys.Control),
1647
new
KeyGesture
(Key.Add, ModifierKeys.Shift | ModifierKeys.Control),
1649
new
KeyGesture
(Key.OemPlus, ModifierKeys.Control),
1651
new
KeyGesture
(Key.OemPlus, ModifierKeys.Shift | ModifierKeys.Control));
1661
new
KeyGesture
(Key.Subtract, ModifierKeys.Control),
1663
new
KeyGesture
(Key.Subtract, ModifierKeys.Shift | ModifierKeys.Control),
1665
new
KeyGesture
(Key.OemMinus, ModifierKeys.Control),
1667
new
KeyGesture
(Key.OemMinus, ModifierKeys.Shift | ModifierKeys.Control));
1674
new
KeyGesture
(Key.PageUp, ModifierKeys.Control));
1681
new
KeyGesture
(Key.PageDown, ModifierKeys.Control));
1688
new
KeyGesture
(Key.Home, ModifierKeys.Control));
1695
new
KeyGesture
(Key.End, ModifierKeys.Control));
1706
new
KeyGesture
(Key.D1, ModifierKeys.Control));
1716
new
KeyGesture
(Key.D3, ModifierKeys.Control));
1726
new
KeyGesture
(Key.D4, ModifierKeys.Control));
System\Windows\Controls\FlowDocumentReader.cs (2)
1369
executedHandler, canExecuteHandler, new
KeyGesture
(Key.OemPlus, ModifierKeys.Control));
1373
executedHandler, canExecuteHandler, new
KeyGesture
(Key.OemMinus, ModifierKeys.Control));
System\Windows\Controls\FlowDocumentScrollViewer.cs (4)
1363
executedHandler, canExecuteHandler, new KeyGesture(Key.Home), new
KeyGesture
(Key.Home, ModifierKeys.Control));
1367
executedHandler, canExecuteHandler, new KeyGesture(Key.End), new
KeyGesture
(Key.End, ModifierKeys.Control));
1371
executedHandler, canExecuteHandler, new
KeyGesture
(Key.OemPlus, ModifierKeys.Control));
1375
executedHandler, canExecuteHandler, new
KeyGesture
(Key.OemMinus, ModifierKeys.Control));
System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
1485
executedHandler, canExecuteHandler, new
KeyGesture
(Key.P, ModifierKeys.Control));
System\Windows\Controls\Primitives\ScrollBar.cs (2)
706
CommandHelpers.RegisterCommandHandler(typeof(ScrollBar), ScrollBar.ScrollToTopCommand, onScrollCommand, onQueryScrollCommand, new
KeyGesture
(Key.Home, ModifierKeys.Control));
707
CommandHelpers.RegisterCommandHandler(typeof(ScrollBar), ScrollBar.ScrollToBottomCommand, onScrollCommand, onQueryScrollCommand, new
KeyGesture
(Key.End, ModifierKeys.Control));
System\Windows\Controls\SinglePageViewer.cs (4)
1266
executedHandler, canExecuteHandler, new
KeyGesture
(Key.OemPlus, ModifierKeys.Control));
1270
executedHandler, canExecuteHandler, new
KeyGesture
(Key.OemMinus, ModifierKeys.Control));
1280
CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.FirstPage, new
KeyGesture
(Key.Home, ModifierKeys.Control)));
1282
CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.LastPage, new
KeyGesture
(Key.End, ModifierKeys.Control)));
PresentationUI (2)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (2)
2082
input.Add(new
KeyGesture
(Key.F6, ModifierKeys.Control));
2091
DocumentViewer.ViewThumbnailsCommand.InputGestures.Add(new
KeyGesture
(Key.D5, ModifierKeys.Control));