15 references to PrimaryMouseDevice
PresentationCore (14)
System\Windows\Input\Mouse.cs (1)
617
mouseDevice = InputManager.UnsecureCurrent.
PrimaryMouseDevice
;
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (1)
524
mouseDevice = InputManager.UnsecureCurrent.
PrimaryMouseDevice
;
System\Windows\Input\Stylus\Wisp\WispLogic.cs (9)
445
InputReportEventArgs mouseArgs = new InputReportEventArgs(_inputManager.
PrimaryMouseDevice
, _deferredMouseMove)
532
MouseDevice mouseDevice = _inputManager.
PrimaryMouseDevice
;
604
if (mouseInputReport.InputSource != _inputManager.
PrimaryMouseDevice
.CriticalActiveSource)
654
_inputManager.
PrimaryMouseDevice
.Captured != null &&
1266
PresentationSource mouseSource = _inputManager.
PrimaryMouseDevice
.CriticalActiveSource;
1762
if (_inputManager.
PrimaryMouseDevice
.CriticalActiveSource != mouseInputSource)
1841
mouseDevice = _inputManager.
PrimaryMouseDevice
;
2013
MouseDevice mouseDevice = _inputManager.
PrimaryMouseDevice
;
2845
if (_inputManager.
PrimaryMouseDevice
.CriticalActiveSource != mouseInputSource)
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (2)
1687
if (inputManager.
PrimaryMouseDevice
.CriticalActiveSource != mouseInputSource)
1719
IInputElement mouseCaptured = inputManager.
PrimaryMouseDevice
.Captured;
System\Windows\InterOp\HwndMouseInputProvider.cs (1)
1269
MouseDevice mouse = _site.CriticalInputManager.
PrimaryMouseDevice
;
PresentationFramework (1)
System\Windows\Controls\Primitives\ButtonBase.cs (1)
743
return InputManager.Current.
PrimaryMouseDevice
.LeftButton == MouseButtonState.Released;