15 references to KeyGesture
PresentationCore (1)
System\Windows\Input\Command\KeyGestureConverter.cs (1)
88
return new
KeyGesture
(Key.None);
PresentationFramework (14)
MS\Internal\Commands\CommandHelpers.cs (2)
35
PrivateRegisterCommandHandler(controlType, command, executedRoutedEventHandler, null, new
KeyGesture
(key));
59
PrivateRegisterCommandHandler(controlType, command, executedRoutedEventHandler, canExecuteRoutedEventHandler, new
KeyGesture
(key));
System\Windows\Controls\DataGrid.cs (2)
60
CommandManager.RegisterClassInputBinding(ownerType, new InputBinding(BeginEditCommand, new
KeyGesture
(Key.F2)));
65
CommandManager.RegisterClassInputBinding(ownerType, new InputBinding(CancelEditCommand, new
KeyGesture
(Key.Escape)));
System\Windows\Controls\FlowDocumentScrollViewer.cs (2)
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));
System\Windows\Controls\SinglePageViewer.cs (8)
1273
CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.PreviousPage, new
KeyGesture
(Key.Left)));
1274
CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.PreviousPage, new
KeyGesture
(Key.Up)));
1275
CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.PreviousPage, new
KeyGesture
(Key.PageUp)));
1276
CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.NextPage, new
KeyGesture
(Key.Right)));
1277
CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.NextPage, new
KeyGesture
(Key.Down)));
1278
CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.NextPage, new
KeyGesture
(Key.PageDown)));
1279
CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.FirstPage, new
KeyGesture
(Key.Home)));
1281
CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.LastPage, new
KeyGesture
(Key.End)));