19 references to InputBinding
PresentationCore (2)
System\Windows\Input\Command\KeyBinding.cs (1)
52public KeyBinding(ICommand command, KeyGesture gesture) : base(command, gesture)
System\Windows\Input\Command\MouseBinding.cs (1)
66public MouseBinding(ICommand command, MouseGesture gesture) : base(command, gesture)
PresentationFramework (16)
MS\Internal\Commands\CommandHelpers.cs (1)
114CommandManager.RegisterClassInputBinding(controlType, new InputBinding(command, inputGestures[i]));
System\Windows\Controls\DataGrid.cs (2)
60CommandManager.RegisterClassInputBinding(ownerType, new InputBinding(BeginEditCommand, new KeyGesture(Key.F2))); 65CommandManager.RegisterClassInputBinding(ownerType, new InputBinding(CancelEditCommand, new KeyGesture(Key.Escape)));
System\Windows\Controls\DocumentViewer.cs (3)
1705new InputBinding(NavigationCommands.Zoom, 1715new InputBinding(DocumentViewer.FitToMaxPagesAcrossCommand, 1725new InputBinding(DocumentViewer.FitToMaxPagesAcrossCommand,
System\Windows\Controls\SinglePageViewer.cs (10)
1273CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.PreviousPage, new KeyGesture(Key.Left))); 1274CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.PreviousPage, new KeyGesture(Key.Up))); 1275CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.PreviousPage, new KeyGesture(Key.PageUp))); 1276CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.NextPage, new KeyGesture(Key.Right))); 1277CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.NextPage, new KeyGesture(Key.Down))); 1278CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.NextPage, new KeyGesture(Key.PageDown))); 1279CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.FirstPage, new KeyGesture(Key.Home))); 1280CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.FirstPage, new KeyGesture(Key.Home, ModifierKeys.Control))); 1281CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.LastPage, new KeyGesture(Key.End))); 1282CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.LastPage, new KeyGesture(Key.End, ModifierKeys.Control)));
PresentationUI (1)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (1)
2144new InputBinding(command, inputGesture));