3 types derived from InputGesture
PresentationCore (2)
System\Windows\Input\Command\KeyGesture.cs (1)
29public class KeyGesture : InputGesture
System\Windows\Input\Command\MouseGesture.cs (1)
26public class MouseGesture : InputGesture
PresentationFramework (1)
System\Windows\Controls\Slider.cs (1)
157private class SliderGesture : InputGesture
53 references to InputGesture
Microsoft.VisualStudio.LanguageServices (7)
GenerateType\GenerateTypeDialog.xaml.cs (5)
51new InputGestureCollection(new List<InputGesture> { new KeyGesture(Key.A, ModifierKeys.Alt) })), 58new InputGestureCollection(new List<InputGesture> { new KeyGesture(Key.K, ModifierKeys.Alt) })), 65new InputGestureCollection(new List<InputGesture> { new KeyGesture(Key.P, ModifierKeys.Alt) })), 72new InputGestureCollection(new List<InputGesture> { new KeyGesture(Key.C, ModifierKeys.Alt) })), 79new 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)
35public InputBinding(ICommand command, InputGesture gesture) 128public virtual InputGesture Gesture 254private InputGesture _gesture = null ;
System\Windows\Input\Command\InputGestureCollection.cs (25)
77return this.Contains(key as InputGesture) ; 87InputGesture inputGesture = value as InputGesture; 101this.Insert(index, value as InputGesture); 113return this.Add(inputGesture as InputGesture); 125this.Remove(inputGesture as InputGesture); 139InputGesture inputGesture = value as InputGesture; 158List<InputGesture> list = new List<InputGesture>(0); 165public InputGesture this[int index] 215public int IndexOf(InputGesture value) 247public int Add(InputGesture inputGesture) 279_innerGestureList = new System.Collections.Generic.List<InputGesture>(collection.Count); 284InputGesture inputGesture = collectionEnum.Current as InputGesture; 302public void Insert(int index, InputGesture inputGesture) 328public void Remove(InputGesture inputGesture) 339_innerGestureList.Remove(inputGesture as InputGesture); 376public bool Contains(InputGesture key) 390public void CopyTo(InputGesture[] inputGestures, int index) 406_innerGestureList = new List<InputGesture>(1); 423internal InputGesture FindMatch(object targetElement, InputEventArgs inputEventArgs) 427InputGesture inputGesture = this[i]; 445private System.Collections.Generic.List<InputGesture> _innerGestureList;
System\Windows\Input\Command\KeyBinding.cs (1)
72public override InputGesture Gesture
System\Windows\Input\Command\MouseBinding.cs (1)
79public override InputGesture Gesture
PresentationFramework (15)
MS\Internal\Commands\CommandHelpers.cs (11)
21InputGesture inputGesture) 33InputGesture inputGesture, InputGesture inputGesture2) 45CanExecuteRoutedEventHandler canExecuteRoutedEventHandler, InputGesture inputGesture) 57CanExecuteRoutedEventHandler canExecuteRoutedEventHandler, InputGesture inputGesture, InputGesture inputGesture2) 64InputGesture inputGesture, InputGesture inputGesture2, InputGesture inputGesture3, InputGesture inputGesture4) 92CanExecuteRoutedEventHandler canExecuteRoutedEventHandler, params ReadOnlySpan<InputGesture> inputGestures)
System\Windows\Controls\InkCanvas.cs (1)
2479InputGesture pasteInputGesture = KeyGesture.CreateFromResourceStrings(KeyShiftInsert, SR.KeyShiftInsertDisplayString);
System\windows\Documents\TextEditorCopyPaste.cs (1)
47InputGesture inputGesture = KeyGesture.CreateFromResourceStrings(KeyShiftInsert, SR.KeyShiftInsertDisplayString);
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (2)
7943typeof(System.Windows.Input.InputGesture), // type 7949SetDelegate = delegate (object target, object value) { ((System.Windows.Input.KeyBinding)target).Gesture = (System.Windows.Input.InputGesture)value; },
PresentationUI (1)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (1)
2131foreach (InputGesture inputGesture in command.InputGestures)