7 instantiations of MouseGesture
PresentationCore (5)
System\Windows\Input\Command\MouseBinding.cs (2)
48: this(command, new MouseGesture(mouseAction)) 205Gesture = new MouseGesture(mouseAction);
System\Windows\Input\Command\MouseGestureConverter.cs (3)
60return new MouseGesture(MouseAction.None, ModifierKeys.None); 93return new MouseGesture((MouseAction)mouseAction, (ModifierKeys)modifierKeys); 99return new MouseGesture((MouseAction)mouseAction);
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
6969bamlType.DefaultConstructor = delegate() { return new System.Windows.Input.MouseGesture(); };
System\Windows\Markup\KnownTypes.cs (1)
1418case KnownElements.MouseGesture: o = new System.Windows.Input.MouseGesture(); break;
26 references to MouseGesture
PresentationCore (23)
System\Windows\Input\Command\MouseBinding.cs (13)
57public MouseBinding(ICommand command, MouseGesture gesture) : base(command, gesture) 84return base.Gesture as MouseGesture; 88MouseGesture oldMouseGesture = Gesture as MouseGesture; 89MouseGesture mouseGesture = value as MouseGesture; 105throw new ArgumentException(SR.Format(SR.InputBinding_ExpectedInputGesture, typeof(MouseGesture))); 177private void SynchronizePropertiesFromGesture(MouseGesture mouseGesture) 209((MouseGesture)Gesture).MouseAction = mouseAction; 223MouseGesture mouseGesture = Gesture as MouseGesture; 233MouseGesture mouseGesture = Gesture as MouseGesture;
System\Windows\Input\Command\MouseGesture.cs (2)
58if (!MouseGesture.IsDefinedMouseAction(mouseAction)) 89if (!MouseGesture.IsDefinedMouseAction((MouseAction)value))
System\Windows\Input\Command\MouseGestureConverter.cs (4)
121MouseGesture mouseGesture = context.Instance as MouseGesture; 149MouseGesture mouseGesture = value as MouseGesture;
System\Windows\Input\Command\MouseGestureValueSerializer.cs (4)
42MouseGesture mouseGesture = value as MouseGesture; 64TypeConverter converter = TypeDescriptor.GetConverter(typeof(MouseGesture)); 79TypeConverter converter = TypeDescriptor.GetConverter(typeof(MouseGesture));
PresentationFramework (3)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
508case 414: t = () => typeof(MouseGesture); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
6967typeof(System.Windows.Input.MouseGesture),
System\Windows\Markup\KnownTypes.cs (1)
5968case KnownElements.MouseGesture: t = typeof(System.Windows.Input.MouseGesture); break;