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