2 types derived from InputBinding
PresentationCore (2)
System\Windows\Input\Command\KeyBinding.cs (1)
32public class KeyBinding : InputBinding
System\Windows\Input\Command\MouseBinding.cs (1)
34public class MouseBinding : InputBinding
18 instantiations of InputBinding
PresentationCore (1)
System\Windows\Input\Command\InputBinding.cs (1)
169return new InputBinding();
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)
2142new InputBinding(command, inputGesture));
49 references to InputBinding
PresentationCore (40)
System\Windows\Input\Command\CommandManager.cs (3)
193public static void RegisterClassInputBinding(Type type, InputBinding inputBinding) 315InputBinding inputBinding = localInputBindings.FindMatch(targetElement, inputEventArgs); 335InputBinding inputBinding = classInputBindings.FindMatch(targetElement, inputEventArgs);
System\Windows\Input\Command\InputBinding.cs (7)
62DependencyProperty.Register("Command", typeof(ICommand), typeof(InputBinding), new UIPropertyMetadata(null, new PropertyChangedCallback(OnCommandPropertyChanged))); 92DependencyProperty.Register("CommandParameter", typeof(object), typeof(InputBinding)); 113DependencyProperty.Register("CommandTarget", typeof(IInputElement), typeof(InputBinding)); 178_gesture = ((InputBinding)sourceFreezable).Gesture; 187_gesture = ((InputBinding)sourceFreezable).Gesture; 196_gesture = ((InputBinding)sourceFreezable).Gesture; 205_gesture = ((InputBinding)sourceFreezable).Gesture;
System\Windows\Input\Command\InputBindingCollection.cs (30)
104return this.Contains(key as InputBinding); 114InputBinding inputBinding = value as InputBinding; 125this.Insert(index, value as InputBinding); 134this.Add(inputBinding as InputBinding); 144this.Remove(inputBinding as InputBinding); 158InputBinding inputBinding = value as InputBinding; 170public InputBinding this[int index] 196InputBinding oldInputBinding = null; 219public int Add(InputBinding inputBinding) 224_innerBindingList = new System.Collections.Generic.List<InputBinding>(1); 255public int IndexOf(InputBinding value) 273_innerBindingList = new System.Collections.Generic.List<InputBinding>(collection.Count); 278InputBinding inputBinding = collectionEnum.Current as InputBinding; 297public void Insert(int index, InputBinding inputBinding) 315public void Remove(InputBinding inputBinding) 319if (_innerBindingList.Remove(inputBinding as InputBinding)) 334InputBinding oldInputBinding = null; 384List<InputBinding> oldInputBindings = new List<InputBinding>(_innerBindingList); 387foreach (InputBinding inputBinding in oldInputBindings) 404System.Collections.Generic.List<InputBinding> list = new System.Collections.Generic.List<InputBinding>(0); 422public bool Contains(InputBinding key) 437public void CopyTo(InputBinding[] inputBindings, int index) 448internal InputBinding FindMatch(object targetElement, InputEventArgs inputEventArgs) 452InputBinding inputBinding = this[i]; 480private List<InputBinding> _innerBindingList;
PresentationFramework (9)
System\Windows\Controls\DocumentViewer.cs (3)
1704InputBinding zoom100InputBinding = 1714InputBinding wholePageInputBinding = 1724InputBinding twoPagesInputBinding =
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
389case 293: t = () => typeof(InputBinding); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
7349Type type = typeof(System.Windows.Input.InputBinding); 7350DependencyProperty dp = System.Windows.Input.InputBinding.CommandProperty; 7352this.GetXamlType(typeof(System.Windows.Input.InputBinding)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
5428typeof(System.Windows.Input.InputBinding),
System\Windows\Markup\KnownTypes.cs (1)
5847case KnownElements.InputBinding: t = typeof(System.Windows.Input.InputBinding); break;