3 types derived from InputGesture
PresentationCore (2)
System\Windows\Input\Command\KeyGesture.cs (1)
30public class KeyGesture : InputGesture
System\Windows\Input\Command\MouseGesture.cs (1)
27public class MouseGesture : InputGesture
PresentationFramework (1)
System\Windows\Controls\Slider.cs (1)
158private class SliderGesture : InputGesture
53 references to InputGesture
Microsoft.VisualStudio.LanguageServices (7)
GenerateType\GenerateTypeDialog.xaml.cs (5)
53new InputGestureCollection(new List<InputGesture> { new KeyGesture(Key.A, ModifierKeys.Alt) })), 60new InputGestureCollection(new List<InputGesture> { new KeyGesture(Key.K, ModifierKeys.Alt) })), 67new InputGestureCollection(new List<InputGesture> { new KeyGesture(Key.P, ModifierKeys.Alt) })), 74new InputGestureCollection(new List<InputGesture> { new KeyGesture(Key.C, ModifierKeys.Alt) })), 81new InputGestureCollection(new List<InputGesture> { new KeyGesture(Key.X, ModifierKeys.Alt) })),
PickMembers\PickMembersDialog.xaml.cs (2)
52new InputGestureCollection(new List<InputGesture> { new KeyGesture(Key.S, ModifierKeys.Alt) })), 59new InputGestureCollection(new List<InputGesture> { new KeyGesture(Key.D, ModifierKeys.Alt) })),
PresentationCore (30)
System\Windows\Input\Command\InputBinding.cs (3)
36public InputBinding(ICommand command, InputGesture gesture) 129public virtual InputGesture Gesture 255private InputGesture _gesture = null ;
System\Windows\Input\Command\InputGestureCollection.cs (25)
78return this.Contains(key as InputGesture) ; 88InputGesture inputGesture = value as InputGesture; 102this.Insert(index, value as InputGesture); 114return this.Add(inputGesture as InputGesture); 126this.Remove(inputGesture as InputGesture); 140InputGesture inputGesture = value as InputGesture; 159List<InputGesture> list = new List<InputGesture>(0); 166public InputGesture this[int index] 216public int IndexOf(InputGesture value) 249public int Add(InputGesture inputGesture) 281_innerGestureList = new System.Collections.Generic.List<InputGesture>(collection.Count); 286InputGesture inputGesture = collectionEnum.Current as InputGesture; 304public void Insert(int index, InputGesture inputGesture) 331public void Remove(InputGesture inputGesture) 342_innerGestureList.Remove(inputGesture as InputGesture); 379public bool Contains(InputGesture key) 393public void CopyTo(InputGesture[] inputGestures, int index) 410_innerGestureList = new List<InputGesture>(1); 427internal InputGesture FindMatch(object targetElement, InputEventArgs inputEventArgs) 431InputGesture inputGesture = this[i]; 449private System.Collections.Generic.List<InputGesture> _innerGestureList;
System\Windows\Input\Command\KeyBinding.cs (1)
73public override InputGesture Gesture
System\Windows\Input\Command\MouseBinding.cs (1)
80public override InputGesture Gesture
PresentationFramework (15)
MS\Internal\Commands\CommandHelpers.cs (11)
22InputGesture inputGesture) 34InputGesture inputGesture, InputGesture inputGesture2) 46CanExecuteRoutedEventHandler canExecuteRoutedEventHandler, InputGesture inputGesture) 58CanExecuteRoutedEventHandler canExecuteRoutedEventHandler, InputGesture inputGesture, InputGesture inputGesture2) 65InputGesture inputGesture, InputGesture inputGesture2, InputGesture inputGesture3, InputGesture inputGesture4) 93CanExecuteRoutedEventHandler canExecuteRoutedEventHandler, params ReadOnlySpan<InputGesture> inputGestures)
System\Windows\Controls\InkCanvas.cs (1)
2480InputGesture pasteInputGesture = KeyGesture.CreateFromResourceStrings(KeyShiftInsert, SR.KeyShiftInsertDisplayString);
System\windows\Documents\TextEditorCopyPaste.cs (1)
48InputGesture inputGesture = KeyGesture.CreateFromResourceStrings(KeyShiftInsert, SR.KeyShiftInsertDisplayString);
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (2)
7944typeof(System.Windows.Input.InputGesture), // type 7950SetDelegate = delegate (object target, object value) { ((System.Windows.Input.KeyBinding)target).Gesture = (System.Windows.Input.InputGesture)value; },
PresentationUI (1)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (1)
2135foreach (InputGesture inputGesture in command.InputGestures)