1 type derived from MouseDevice
PresentationCore (1)
System\Windows\Input\Win32MouseDevice.cs (1)
26internal sealed class Win32MouseDevice : MouseDevice
45 references to MouseDevice
PresentationCore (36)
System\Windows\DragDrop.cs (1)
1317target = MouseDevice.LocalHitTest(targetPoint, source) as DependencyObject;
System\Windows\Input\InputManager.cs (2)
285public MouseDevice PrimaryMouseDevice 947private MouseDevice _primaryMouseDevice;
System\Windows\Input\Mouse.cs (3)
480IMouseInputProvider mouseInputProvider = inputSource.GetInputProvider(typeof(MouseDevice)) as IMouseInputProvider; 619public static MouseDevice PrimaryDevice 623MouseDevice mouseDevice;
System\Windows\Input\MouseButtonEventArgs.cs (2)
27public MouseButtonEventArgs(MouseDevice mouse, 52public MouseButtonEventArgs(MouseDevice mouse,
System\Windows\Input\MouseDevice.cs (2)
369mouseInputProvider = captureSource.GetInputProvider(typeof(MouseDevice)) as IMouseInputProvider; 1430IMouseInputProvider toDeactivate = _inputSource.GetInputProvider(typeof(MouseDevice)) as IMouseInputProvider;
System\Windows\Input\MouseEventArgs.cs (4)
26public MouseEventArgs(MouseDevice mouse, int timestamp) : base(mouse, timestamp) 44public MouseEventArgs(MouseDevice mouse, int timestamp, StylusDevice stylusDevice) : base(mouse, timestamp) 54public MouseDevice MouseDevice 56get {return (MouseDevice) this.Device;}
System\Windows\Input\MouseWheelEventArgs.cs (1)
27public MouseWheelEventArgs(MouseDevice mouse, int timestamp, int delta) : base(mouse, timestamp)
System\Windows\Input\QueryCursorEventArgs.cs (2)
23public QueryCursorEventArgs(MouseDevice mouse, int timestamp) : base(mouse, timestamp) 39public QueryCursorEventArgs(MouseDevice mouse, int timestamp, StylusDevice stylusDevice) : base(mouse, timestamp, stylusDevice)
System\Windows\Input\Stylus\Common\StylusDevice.cs (4)
303internal Point GetMouseScreenPosition(MouseDevice mouseDevice) 324internal MouseButtonState GetMouseButtonState(MouseButton mouseButton, MouseDevice mouseDevice) 335return MouseDevice.LocalHitTest(pt, inputSource); 340return MouseDevice.GlobalHitTest(pt, inputSource);
System\Windows\Input\Stylus\Common\StylusDeviceBase.cs (2)
214internal abstract Point GetMouseScreenPosition(MouseDevice mouseDevice); 232internal abstract MouseButtonState GetMouseButtonState(MouseButton mouseButton, MouseDevice mouseDevice);
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (1)
240MouseDevice.PushActivateInputReport(e, input, rawMouseInputReport, clearExtraInformation:true);
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (2)
754internal override Point GetMouseScreenPosition(MouseDevice mouseDevice) 775internal override MouseButtonState GetMouseButtonState(MouseButton mouseButton, MouseDevice mouseDevice)
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (1)
512MouseDevice mouseDevice;
System\Windows\Input\Stylus\Wisp\WispLogic.cs (3)
536MouseDevice mouseDevice = _inputManager.PrimaryMouseDevice; 1813MouseDevice mouseDevice; 2009MouseDevice mouseDevice = _inputManager.PrimaryMouseDevice;
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (2)
1237internal override MouseButtonState GetMouseButtonState(MouseButton mouseButton, MouseDevice mouseDevice) 1265internal override Point GetMouseScreenPosition(MouseDevice mouseDevice)
System\Windows\Input\TouchDevice.cs (2)
275return MouseDevice.GlobalHitTest(false, pt, inputSource); 280return MouseDevice.LocalHitTest(false, pt, inputSource);
System\Windows\InterOp\HwndMouseInputProvider.cs (1)
1273MouseDevice mouse = _site.CriticalInputManager.PrimaryMouseDevice;
System\Windows\InterOp\HwndSource.cs (1)
411if (inputDevice == typeof(MouseDevice))
PresentationFramework (9)
MS\Internal\Ink\EditingCoordinator.cs (3)
949_capturedMouse = inputDevice as MouseDevice; 1072|| (inputDevice == _capturedMouse && ( (MouseDevice)inputDevice).Captured == _inkCanvas); 1418private MouseDevice _capturedMouse;
MS\Internal\Ink\SelectionEditingBehavior.cs (1)
73MouseDevice mouse = Mouse.PrimaryDevice;
System\Windows\Controls\StickyNote.cs (2)
888MouseDevice mouseDevice = null; 898mouseDevice = args.Device as MouseDevice;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
509case 413: t = () => typeof(MouseDevice); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
6958typeof(System.Windows.Input.MouseDevice),
System\Windows\Markup\KnownTypes.cs (1)
5967case KnownElements.MouseDevice: t = typeof(System.Windows.Input.MouseDevice); break;