3 writes to _inputSource
PresentationCore (3)
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (3)
92
_inputSource
= null;
1426
_inputSource
= inputSource;
1645
_inputSource
= inputSource;
17 references to _inputSource
PresentationCore (17)
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (17)
138
internal override PresentationSource ActiveSource =>
_inputSource
;
143
internal override PresentationSource CriticalActiveSource =>
_inputSource
;
325
if (InRange &&
_inputSource
?.CompositionTarget is { } target && !target.IsDisposed)
327
Point ptDevice = PointUtil.ScreenToClient(_lastScreenLocation,
_inputSource
);
330
IInputElement stylusOver = Input.StylusDevice.GlobalHitTest(
_inputSource
, ptDevice);
342
PenContext penContext = _stylusLogic.GetStylusPenContextForHwnd(
_inputSource
, TabletDevice.Id);
361
_inputSource
,
653
if (CapturedMode == CaptureMode.SubTree &&
_inputSource
!= null)
655
Point pt = _stylusLogic.DeviceUnitsFromMeasureUnits(
_inputSource
, GetPosition(null));
656
inputElementHit = FindTarget(
_inputSource
, pt);
664
if (
_inputSource
is not null)
667
pt = _stylusLogic.DeviceUnitsFromMeasureUnits(
_inputSource
, pt); // change back to device coords.
668
IInputElement currentOver = Input.StylusDevice.GlobalHitTest(
_inputSource
, pt);
1179
if (
_inputSource
!= null)
1181
relativePresentationSource =
_inputSource
;
1728
mouseInputSource = (
_inputSource
is not null) ?
1729
DetermineValidSource(
_inputSource
, _eventStylusPoints, null) : null;