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