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