3 writes to _inputSource
PresentationCore (3)
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (3)
89
_inputSource
= null;
1423
_inputSource
= inputSource;
1642
_inputSource
= inputSource;
17 references to _inputSource
PresentationCore (17)
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (17)
135
internal override PresentationSource ActiveSource =>
_inputSource
;
140
internal override PresentationSource CriticalActiveSource =>
_inputSource
;
322
if (InRange &&
_inputSource
?.CompositionTarget is { } target && !target.IsDisposed)
324
Point ptDevice = PointUtil.ScreenToClient(_lastScreenLocation,
_inputSource
);
327
IInputElement stylusOver = Input.StylusDevice.GlobalHitTest(
_inputSource
, ptDevice);
339
PenContext penContext = _stylusLogic.GetStylusPenContextForHwnd(
_inputSource
, TabletDevice.Id);
358
_inputSource
,
650
if (CapturedMode == CaptureMode.SubTree &&
_inputSource
!= null)
652
Point pt = _stylusLogic.DeviceUnitsFromMeasureUnits(
_inputSource
, GetPosition(null));
653
inputElementHit = FindTarget(
_inputSource
, pt);
661
if (
_inputSource
is not null)
664
pt = _stylusLogic.DeviceUnitsFromMeasureUnits(
_inputSource
, pt); // change back to device coords.
665
IInputElement currentOver = Input.StylusDevice.GlobalHitTest(
_inputSource
, pt);
1176
if (
_inputSource
!= null)
1178
relativePresentationSource =
_inputSource
;
1725
mouseInputSource = (
_inputSource
is not null) ?
1726
DetermineValidSource(
_inputSource
, _eventStylusPoints, null) : null;