7 instantiations of MouseGesture
PresentationCore (5)
System\Windows\Input\Command\MouseBinding.cs (2)
57: this(command, new MouseGesture(mouseAction)) 214Gesture = new MouseGesture(mouseAction);
System\Windows\Input\Command\MouseGestureConverter.cs (3)
66return new MouseGesture(MouseAction.None, ModifierKeys.None); 99return new MouseGesture((MouseAction)mouseAction, (ModifierKeys)modifierKeys); 105return new MouseGesture((MouseAction)mouseAction);
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
6971bamlType.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)
66public MouseBinding(ICommand command, MouseGesture gesture) : base(command, gesture) 93return base.Gesture as MouseGesture; 97MouseGesture oldMouseGesture = Gesture as MouseGesture; 98MouseGesture mouseGesture = value as MouseGesture; 114throw new ArgumentException(SR.Format(SR.InputBinding_ExpectedInputGesture, typeof(MouseGesture))); 186private void SynchronizePropertiesFromGesture(MouseGesture mouseGesture) 218((MouseGesture)Gesture).MouseAction = mouseAction; 232MouseGesture mouseGesture = Gesture as MouseGesture; 242MouseGesture mouseGesture = Gesture as MouseGesture;
System\Windows\Input\Command\MouseGesture.cs (2)
61if (!MouseGesture.IsDefinedMouseAction(mouseAction)) 92if (!MouseGesture.IsDefinedMouseAction((MouseAction)value))
System\Windows\Input\Command\MouseGestureConverter.cs (4)
127MouseGesture mouseGesture = context.Instance as MouseGesture; 155MouseGesture mouseGesture = value as MouseGesture;
System\Windows\Input\Command\MouseGestureValueSerializer.cs (4)
47MouseGesture mouseGesture = value as MouseGesture; 69TypeConverter converter = TypeDescriptor.GetConverter(typeof(MouseGesture)); 84TypeConverter converter = TypeDescriptor.GetConverter(typeof(MouseGesture));
PresentationFramework (3)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
510case 414: t = () => typeof(MouseGesture); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
6969typeof(System.Windows.Input.MouseGesture),
System\Windows\Markup\KnownTypes.cs (1)
5968case KnownElements.MouseGesture: t = typeof(System.Windows.Input.MouseGesture); break;