15 references to PrimaryMouseDevice
PresentationCore (14)
System\Windows\Input\Mouse.cs (1)
625mouseDevice = InputManager.UnsecureCurrent.PrimaryMouseDevice;
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (1)
536mouseDevice = InputManager.UnsecureCurrent.PrimaryMouseDevice;
System\Windows\Input\Stylus\Wisp\WispLogic.cs (9)
451InputReportEventArgs mouseArgs = new InputReportEventArgs(_inputManager.PrimaryMouseDevice, _deferredMouseMove); 536MouseDevice mouseDevice = _inputManager.PrimaryMouseDevice; 606if (mouseInputReport.InputSource != _inputManager.PrimaryMouseDevice.CriticalActiveSource) 654_inputManager.PrimaryMouseDevice.Captured != null && 1266PresentationSource mouseSource = _inputManager.PrimaryMouseDevice.CriticalActiveSource; 1760if (_inputManager.PrimaryMouseDevice.CriticalActiveSource != mouseInputSource) 1837mouseDevice = _inputManager.PrimaryMouseDevice; 2009MouseDevice mouseDevice = _inputManager.PrimaryMouseDevice; 2835if (_inputManager.PrimaryMouseDevice.CriticalActiveSource != mouseInputSource)
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (2)
1684if (inputManager.PrimaryMouseDevice.CriticalActiveSource != mouseInputSource) 1714IInputElement mouseCaptured = inputManager.PrimaryMouseDevice.Captured;
System\Windows\InterOp\HwndMouseInputProvider.cs (1)
1273MouseDevice mouse = _site.CriticalInputManager.PrimaryMouseDevice;
PresentationFramework (1)
System\Windows\Controls\Primitives\ButtonBase.cs (1)
754return InputManager.Current.PrimaryMouseDevice.LeftButton == MouseButtonState.Released;