1 type derived from MouseDevice
PresentationCore (1)
System\Windows\Input\Win32MouseDevice.cs (1)
13internal sealed class Win32MouseDevice : MouseDevice
45 references to MouseDevice
PresentationCore (36)
System\Windows\DragDrop.cs (1)
1310target = MouseDevice.LocalHitTest(targetPoint, source) as DependencyObject;
System\Windows\Input\InputManager.cs (2)
277public MouseDevice PrimaryMouseDevice 939private MouseDevice _primaryMouseDevice;
System\Windows\Input\Mouse.cs (3)
472IMouseInputProvider mouseInputProvider = inputSource.GetInputProvider(typeof(MouseDevice)) as IMouseInputProvider; 611public static MouseDevice PrimaryDevice 615MouseDevice mouseDevice;
System\Windows\Input\MouseButtonEventArgs.cs (2)
24public MouseButtonEventArgs(MouseDevice mouse, 49public MouseButtonEventArgs(MouseDevice mouse,
System\Windows\Input\MouseDevice.cs (2)
360mouseInputProvider = captureSource.GetInputProvider(typeof(MouseDevice)) as IMouseInputProvider; 1421IMouseInputProvider toDeactivate = _inputSource.GetInputProvider(typeof(MouseDevice)) as IMouseInputProvider;
System\Windows\Input\MouseEventArgs.cs (4)
22public MouseEventArgs(MouseDevice mouse, int timestamp) : base(mouse, timestamp) 40public MouseEventArgs(MouseDevice mouse, int timestamp, StylusDevice stylusDevice) : base(mouse, timestamp) 50public MouseDevice MouseDevice 52get {return (MouseDevice) this.Device;}
System\Windows\Input\MouseWheelEventArgs.cs (1)
24public MouseWheelEventArgs(MouseDevice mouse, int timestamp, int delta) : base(mouse, timestamp)
System\Windows\Input\QueryCursorEventArgs.cs (2)
21public QueryCursorEventArgs(MouseDevice mouse, int timestamp) : base(mouse, timestamp) 37public QueryCursorEventArgs(MouseDevice mouse, int timestamp, StylusDevice stylusDevice) : base(mouse, timestamp, stylusDevice)
System\Windows\Input\Stylus\Common\StylusDevice.cs (4)
289internal Point GetMouseScreenPosition(MouseDevice mouseDevice) 310internal MouseButtonState GetMouseButtonState(MouseButton mouseButton, MouseDevice mouseDevice) 321return MouseDevice.LocalHitTest(pt, inputSource); 326return MouseDevice.GlobalHitTest(pt, inputSource);
System\Windows\Input\Stylus\Common\StylusDeviceBase.cs (2)
200internal abstract Point GetMouseScreenPosition(MouseDevice mouseDevice); 218internal abstract MouseButtonState GetMouseButtonState(MouseButton mouseButton, MouseDevice mouseDevice);
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (1)
223MouseDevice.PushActivateInputReport(e, input, rawMouseInputReport, clearExtraInformation:true);
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (2)
746internal override Point GetMouseScreenPosition(MouseDevice mouseDevice) 767internal override MouseButtonState GetMouseButtonState(MouseButton mouseButton, MouseDevice mouseDevice)
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (1)
500MouseDevice mouseDevice;
System\Windows\Input\Stylus\Wisp\WispLogic.cs (3)
527MouseDevice mouseDevice = _inputManager.PrimaryMouseDevice; 1804MouseDevice mouseDevice; 2000MouseDevice mouseDevice = _inputManager.PrimaryMouseDevice;
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (2)
1234internal override MouseButtonState GetMouseButtonState(MouseButton mouseButton, MouseDevice mouseDevice) 1262internal override Point GetMouseScreenPosition(MouseDevice mouseDevice)
System\Windows\Input\TouchDevice.cs (2)
263return MouseDevice.GlobalHitTest(false, pt, inputSource); 268return MouseDevice.LocalHitTest(false, pt, inputSource);
System\Windows\InterOp\HwndMouseInputProvider.cs (1)
1269MouseDevice mouse = _site.CriticalInputManager.PrimaryMouseDevice;
System\Windows\InterOp\HwndSource.cs (1)
399if (inputDevice == typeof(MouseDevice))
PresentationFramework (9)
MS\Internal\Ink\EditingCoordinator.cs (3)
934_capturedMouse = inputDevice as MouseDevice; 1057|| (inputDevice == _capturedMouse && ( (MouseDevice)inputDevice).Captured == _inkCanvas); 1403private MouseDevice _capturedMouse;
MS\Internal\Ink\SelectionEditingBehavior.cs (1)
60MouseDevice mouse = Mouse.PrimaryDevice;
System\Windows\Controls\StickyNote.cs (2)
872MouseDevice mouseDevice = null; 882mouseDevice = args.Device as MouseDevice;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
507case 413: t = () => typeof(MouseDevice); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
6956typeof(System.Windows.Input.MouseDevice),
System\Windows\Markup\KnownTypes.cs (1)
5967case KnownElements.MouseDevice: t = typeof(System.Windows.Input.MouseDevice); break;