19 references to InputBinding
PresentationCore (2)
System\Windows\Input\Command\KeyBinding.cs (1)
52
public KeyBinding(ICommand command, KeyGesture gesture) :
base
(command, gesture)
System\Windows\Input\Command\MouseBinding.cs (1)
66
public MouseBinding(ICommand command, MouseGesture gesture) :
base
(command, gesture)
PresentationFramework (16)
MS\Internal\Commands\CommandHelpers.cs (1)
114
CommandManager.RegisterClassInputBinding(controlType, new
InputBinding
(command, inputGestures[i]));
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\DocumentViewer.cs (3)
1705
new
InputBinding
(NavigationCommands.Zoom,
1715
new
InputBinding
(DocumentViewer.FitToMaxPagesAcrossCommand,
1725
new
InputBinding
(DocumentViewer.FitToMaxPagesAcrossCommand,
System\Windows\Controls\SinglePageViewer.cs (10)
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)));
1280
CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new
InputBinding
(NavigationCommands.FirstPage, new KeyGesture(Key.Home, ModifierKeys.Control)));
1281
CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new
InputBinding
(NavigationCommands.LastPage, new KeyGesture(Key.End)));
1282
CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new
InputBinding
(NavigationCommands.LastPage, new KeyGesture(Key.End, ModifierKeys.Control)));
PresentationUI (1)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (1)
2142
new
InputBinding
(command, inputGesture));