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)
442
InputReportEventArgs mouseArgs = new InputReportEventArgs(_inputManager.
PrimaryMouseDevice
, _deferredMouseMove);
527
MouseDevice mouseDevice = _inputManager.
PrimaryMouseDevice
;
597
if (mouseInputReport.InputSource != _inputManager.
PrimaryMouseDevice
.CriticalActiveSource)
645
_inputManager.
PrimaryMouseDevice
.Captured != null &&
1257
PresentationSource mouseSource = _inputManager.
PrimaryMouseDevice
.CriticalActiveSource;
1751
if (_inputManager.
PrimaryMouseDevice
.CriticalActiveSource != mouseInputSource)
1828
mouseDevice = _inputManager.
PrimaryMouseDevice
;
2000
MouseDevice mouseDevice = _inputManager.
PrimaryMouseDevice
;
2826
if (_inputManager.
PrimaryMouseDevice
.CriticalActiveSource != mouseInputSource)
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (2)
1681
if (inputManager.
PrimaryMouseDevice
.CriticalActiveSource != mouseInputSource)
1711
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;