18 references to InputBinding
PresentationCore (2)
Core\CSharp\System\Windows\Input\Command\KeyBinding.cs (1)
59
public KeyBinding(ICommand command, KeyGesture gesture) :
base
(command, gesture)
Core\CSharp\System\Windows\Input\Command\MouseBinding.cs (1)
71
public MouseBinding(ICommand command, MouseGesture gesture) :
base
(command, gesture)
PresentationFramework (16)
src\Framework\MS\Internal\Commands\CommandHelpers.cs (1)
117
CommandManager.RegisterClassInputBinding(controlType, new
InputBinding
(command, inputGestures[i]));
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\DocumentViewer.cs (3)
1730
new
InputBinding
(NavigationCommands.Zoom,
1740
new
InputBinding
(DocumentViewer.FitToMaxPagesAcrossCommand,
1750
new
InputBinding
(DocumentViewer.FitToMaxPagesAcrossCommand,
src\Framework\System\Windows\Controls\SinglePageViewer.cs (10)
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)));
1287
CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new
InputBinding
(NavigationCommands.FirstPage, new KeyGesture(Key.Home, ModifierKeys.Control)));
1288
CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new
InputBinding
(NavigationCommands.LastPage, new KeyGesture(Key.End)));
1289
CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new
InputBinding
(NavigationCommands.LastPage, new KeyGesture(Key.End, ModifierKeys.Control)));