1 type derived from MouseDevice
PresentationCore (1)
System\Windows\Input\Win32MouseDevice.cs (1)
12
internal sealed class Win32MouseDevice :
MouseDevice
45 references to MouseDevice
PresentationCore (36)
System\Windows\DragDrop.cs (1)
1309
target =
MouseDevice
.LocalHitTest(targetPoint, source) as DependencyObject;
System\Windows\Input\InputManager.cs (2)
276
public
MouseDevice
PrimaryMouseDevice
940
private
MouseDevice
_primaryMouseDevice;
System\Windows\Input\Mouse.cs (3)
471
IMouseInputProvider mouseInputProvider = inputSource.GetInputProvider(typeof(
MouseDevice
)) as IMouseInputProvider;
610
public static
MouseDevice
PrimaryDevice
614
MouseDevice
mouseDevice;
System\Windows\Input\MouseButtonEventArgs.cs (2)
23
public MouseButtonEventArgs(
MouseDevice
mouse,
48
public MouseButtonEventArgs(
MouseDevice
mouse,
System\Windows\Input\MouseDevice.cs (2)
354
mouseInputProvider = captureSource.GetInputProvider(typeof(
MouseDevice
)) as IMouseInputProvider;
1435
IMouseInputProvider toDeactivate = _inputSource.GetInputProvider(typeof(
MouseDevice
)) as IMouseInputProvider;
System\Windows\Input\MouseEventArgs.cs (4)
21
public MouseEventArgs(
MouseDevice
mouse, int timestamp) : base(mouse, timestamp)
39
public MouseEventArgs(
MouseDevice
mouse, int timestamp, StylusDevice stylusDevice) : base(mouse, timestamp)
49
public
MouseDevice
MouseDevice
51
get {return (
MouseDevice
) this.Device;}
System\Windows\Input\MouseWheelEventArgs.cs (1)
23
public MouseWheelEventArgs(
MouseDevice
mouse, int timestamp, int delta) : base(mouse, timestamp)
System\Windows\Input\QueryCursorEventArgs.cs (2)
20
public QueryCursorEventArgs(
MouseDevice
mouse, int timestamp) : base(mouse, timestamp)
36
public QueryCursorEventArgs(
MouseDevice
mouse, int timestamp, StylusDevice stylusDevice) : base(mouse, timestamp, stylusDevice)
System\Windows\Input\Stylus\Common\StylusDevice.cs (4)
288
internal Point GetMouseScreenPosition(
MouseDevice
mouseDevice)
309
internal MouseButtonState GetMouseButtonState(MouseButton mouseButton,
MouseDevice
mouseDevice)
320
return
MouseDevice
.LocalHitTest(pt, inputSource);
325
return
MouseDevice
.GlobalHitTest(pt, inputSource);
System\Windows\Input\Stylus\Common\StylusDeviceBase.cs (2)
199
internal abstract Point GetMouseScreenPosition(
MouseDevice
mouseDevice);
217
internal abstract MouseButtonState GetMouseButtonState(MouseButton mouseButton,
MouseDevice
mouseDevice);
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (1)
222
MouseDevice
.PushActivateInputReport(e, input, rawMouseInputReport, clearExtraInformation:true);
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (2)
747
internal override Point GetMouseScreenPosition(
MouseDevice
mouseDevice)
768
internal override MouseButtonState GetMouseButtonState(MouseButton mouseButton,
MouseDevice
mouseDevice)
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (1)
499
MouseDevice
mouseDevice;
System\Windows\Input\Stylus\Wisp\WispLogic.cs (3)
531
MouseDevice
mouseDevice = _inputManager.PrimaryMouseDevice;
1816
MouseDevice
mouseDevice;
2012
MouseDevice
mouseDevice = _inputManager.PrimaryMouseDevice;
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (2)
1236
internal override MouseButtonState GetMouseButtonState(MouseButton mouseButton,
MouseDevice
mouseDevice)
1264
internal override Point GetMouseScreenPosition(
MouseDevice
mouseDevice)
System\Windows\Input\TouchDevice.cs (2)
262
return
MouseDevice
.GlobalHitTest(false, pt, inputSource);
267
return
MouseDevice
.LocalHitTest(false, pt, inputSource);
System\Windows\InterOp\HwndMouseInputProvider.cs (1)
1265
MouseDevice
mouse = _site.CriticalInputManager.PrimaryMouseDevice;
System\Windows\InterOp\HwndSource.cs (1)
404
if (inputDevice == typeof(
MouseDevice
))
PresentationFramework (9)
MS\Internal\Ink\EditingCoordinator.cs (3)
927
_capturedMouse = inputDevice as
MouseDevice
;
1047
|| (inputDevice == _capturedMouse && ( (
MouseDevice
)inputDevice).Captured == _inkCanvas);
1393
private
MouseDevice
_capturedMouse;
MS\Internal\Ink\SelectionEditingBehavior.cs (1)
59
MouseDevice
mouse = Mouse.PrimaryDevice;
System\Windows\Controls\StickyNote.cs (2)
852
MouseDevice
mouseDevice = null;
862
mouseDevice = args.Device as
MouseDevice
;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
506
case 413: t = () => typeof(
MouseDevice
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
7643
typeof(System.Windows.Input.
MouseDevice
),
System\Windows\Markup\KnownTypes.cs (1)
5960
case KnownElements.MouseDevice: t = typeof(System.Windows.Input.
MouseDevice
); break;