2 types derived from InputBinding
PresentationCore (2)
Core\CSharp\System\Windows\Input\Command\KeyBinding.cs (1)
39public class KeyBinding : InputBinding
Core\CSharp\System\Windows\Input\Command\MouseBinding.cs (1)
39public class MouseBinding : InputBinding
17 instantiations of InputBinding
PresentationCore (1)
Core\CSharp\System\Windows\Input\Command\InputBinding.cs (1)
230return new InputBinding();
PresentationFramework (16)
src\Framework\MS\Internal\Commands\CommandHelpers.cs (1)
117CommandManager.RegisterClassInputBinding(controlType, new InputBinding(command, inputGestures[i]));
src\Framework\System\Windows\Controls\DataGrid.cs (2)
61CommandManager.RegisterClassInputBinding(ownerType, new InputBinding(BeginEditCommand, new KeyGesture(Key.F2))); 66CommandManager.RegisterClassInputBinding(ownerType, new InputBinding(CancelEditCommand, new KeyGesture(Key.Escape)));
src\Framework\System\Windows\Controls\DocumentViewer.cs (3)
1730new InputBinding(NavigationCommands.Zoom, 1740new InputBinding(DocumentViewer.FitToMaxPagesAcrossCommand, 1750new InputBinding(DocumentViewer.FitToMaxPagesAcrossCommand,
src\Framework\System\Windows\Controls\SinglePageViewer.cs (10)
1280CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.PreviousPage, new KeyGesture(Key.Left))); 1281CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.PreviousPage, new KeyGesture(Key.Up))); 1282CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.PreviousPage, new KeyGesture(Key.PageUp))); 1283CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.NextPage, new KeyGesture(Key.Right))); 1284CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.NextPage, new KeyGesture(Key.Down))); 1285CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.NextPage, new KeyGesture(Key.PageDown))); 1286CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.FirstPage, new KeyGesture(Key.Home))); 1287CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.FirstPage, new KeyGesture(Key.Home, ModifierKeys.Control))); 1288CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.LastPage, new KeyGesture(Key.End))); 1289CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new InputBinding(NavigationCommands.LastPage, new KeyGesture(Key.End, ModifierKeys.Control)));
51 references to InputBinding
PresentationCore (42)
Core\CSharp\System\Windows\Input\Command\CommandManager.cs (3)
242public static void RegisterClassInputBinding(Type type, InputBinding inputBinding) 379InputBinding inputBinding = localInputBindings.FindMatch(targetElement, inputEventArgs); 399InputBinding inputBinding = classInputBindings.FindMatch(targetElement, inputEventArgs);
Core\CSharp\System\Windows\Input\Command\InputBinding.cs (9)
73DependencyProperty.Register("Command", typeof(ICommand), typeof(InputBinding), new UIPropertyMetadata(null, new PropertyChangedCallback(OnCommandPropertyChanged))); 108InputBinding inputBinding = (InputBinding)d; 116DependencyProperty.Register("CommandParameter", typeof(object), typeof(InputBinding)); 137DependencyProperty.Register("CommandTarget", typeof(IInputElement), typeof(InputBinding)); 239_gesture = ((InputBinding)sourceFreezable).Gesture; 248_gesture = ((InputBinding)sourceFreezable).Gesture; 257_gesture = ((InputBinding)sourceFreezable).Gesture; 266_gesture = ((InputBinding)sourceFreezable).Gesture;
Core\CSharp\System\Windows\Input\Command\InputBindingCollection.cs (30)
107return this.Contains(key as InputBinding); 117InputBinding inputBinding = value as InputBinding; 128this.Insert(index, value as InputBinding); 137this.Add(inputBinding as InputBinding); 147this.Remove(inputBinding as InputBinding); 161InputBinding inputBinding = value as InputBinding; 173public InputBinding this[int index] 199InputBinding oldInputBinding = null; 222public int Add(InputBinding inputBinding) 227_innerBindingList = new System.Collections.Generic.List<InputBinding>(1); 258public int IndexOf(InputBinding value) 279_innerBindingList = new System.Collections.Generic.List<InputBinding>(collection.Count); 284InputBinding inputBinding = collectionEnum.Current as InputBinding; 303public void Insert(int index, InputBinding inputBinding) 321public void Remove(InputBinding inputBinding) 325if (_innerBindingList.Remove(inputBinding as InputBinding)) 340InputBinding oldInputBinding = null; 390List<InputBinding> oldInputBindings = new List<InputBinding>(_innerBindingList); 393foreach (InputBinding inputBinding in oldInputBindings) 410System.Collections.Generic.List<InputBinding> list = new System.Collections.Generic.List<InputBinding>(0); 428public bool Contains(InputBinding key) 443public void CopyTo(InputBinding[] inputBindings, int index) 454internal InputBinding FindMatch(object targetElement, InputEventArgs inputEventArgs) 458InputBinding inputBinding = this[i]; 486private List<InputBinding> _innerBindingList;
PresentationFramework (9)
src\Framework\System\Windows\Controls\DocumentViewer.cs (3)
1729InputBinding zoom100InputBinding = 1739InputBinding wholePageInputBinding = 1749InputBinding twoPagesInputBinding =
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
385case 293: t = () => typeof(InputBinding); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
7307Type type = typeof(System.Windows.Input.InputBinding); 7308DependencyProperty dp = System.Windows.Input.InputBinding.CommandProperty; 7310this.GetXamlType(typeof(System.Windows.Input.InputBinding)), // DeclaringType
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
5424typeof(System.Windows.Input.InputBinding),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5837case KnownElements.InputBinding: t = typeof(System.Windows.Input.InputBinding); break;