15 references to KeyGesture
PresentationCore (1)
Core\CSharp\System\Windows\Input\Command\KeyGestureConverter.cs (1)
94
return new
KeyGesture
(Key.None);
PresentationFramework (14)
src\Framework\MS\Internal\Commands\CommandHelpers.cs (2)
38
PrivateRegisterCommandHandler(controlType, command, executedRoutedEventHandler, null, new
KeyGesture
(key));
62
PrivateRegisterCommandHandler(controlType, command, executedRoutedEventHandler, canExecuteRoutedEventHandler, new
KeyGesture
(key));
src\Framework\System\Windows\Controls\DataGrid.cs (2)
61
CommandManager.RegisterClassInputBinding(ownerType, new InputBinding(BeginEditCommand, new
KeyGesture
(Key.F2)));
66
CommandManager.RegisterClassInputBinding(ownerType, new InputBinding(CancelEditCommand, new
KeyGesture
(Key.Escape)));
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (2)
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));
src\Framework\System\Windows\Controls\SinglePageViewer.cs (8)
1280
CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.PreviousPage, new
KeyGesture
(Key.Left)));
1281
CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.PreviousPage, new
KeyGesture
(Key.Up)));
1282
CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.PreviousPage, new
KeyGesture
(Key.PageUp)));
1283
CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.NextPage, new
KeyGesture
(Key.Right)));
1284
CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.NextPage, new
KeyGesture
(Key.Down)));
1285
CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.NextPage, new
KeyGesture
(Key.PageDown)));
1286
CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.FirstPage, new
KeyGesture
(Key.Home)));
1288
CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.LastPage, new
KeyGesture
(Key.End)));