7 instantiations of MouseGesture
PresentationCore (5)
Core\CSharp\System\Windows\Input\Command\MouseBinding.cs (2)
62: this(command, new MouseGesture(mouseAction)) 219Gesture = new MouseGesture(mouseAction);
Core\CSharp\System\Windows\Input\Command\MouseGestureConverter.cs (3)
70return new MouseGesture(MouseAction.None, ModifierKeys.None); ; 103return new MouseGesture((MouseAction)mouseAction, (ModifierKeys)modifierKeys); 109return new MouseGesture((MouseAction)mouseAction);
PresentationFramework (2)
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
6967bamlType.DefaultConstructor = delegate() { return new System.Windows.Input.MouseGesture(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1419case KnownElements.MouseGesture: o = new System.Windows.Input.MouseGesture(); break;
26 references to MouseGesture
PresentationCore (23)
Core\CSharp\System\Windows\Input\Command\MouseBinding.cs (13)
71public MouseBinding(ICommand command, MouseGesture gesture) : base(command, gesture) 98return base.Gesture as MouseGesture; 102MouseGesture oldMouseGesture = Gesture as MouseGesture; 103MouseGesture mouseGesture = value as MouseGesture; 119throw new ArgumentException(SR.Get(SRID.InputBinding_ExpectedInputGesture, typeof(MouseGesture))); 191private void SynchronizePropertiesFromGesture(MouseGesture mouseGesture) 223((MouseGesture)Gesture).MouseAction = mouseAction; 237MouseGesture mouseGesture = Gesture as MouseGesture; 247MouseGesture mouseGesture = Gesture as MouseGesture;
Core\CSharp\System\Windows\Input\Command\MouseGesture.cs (2)
64if (!MouseGesture.IsDefinedMouseAction(mouseAction)) 95if (!MouseGesture.IsDefinedMouseAction((MouseAction)value))
Core\CSharp\System\Windows\Input\Command\MouseGestureConverter.cs (4)
131MouseGesture mouseGesture = context.Instance as MouseGesture; 160MouseGesture mouseGesture = value as MouseGesture;
Core\CSharp\System\Windows\Input\Command\MouseGestureValueSerializer.cs (4)
51MouseGesture mouseGesture = value as MouseGesture; 74TypeConverter converter = TypeDescriptor.GetConverter(typeof(MouseGesture)); 89TypeConverter converter = TypeDescriptor.GetConverter(typeof(MouseGesture));
PresentationFramework (3)
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
506case 414: t = () => typeof(MouseGesture); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
6965typeof(System.Windows.Input.MouseGesture),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5958case KnownElements.MouseGesture: t = typeof(System.Windows.Input.MouseGesture); break;