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)
135internal override PresentationSource ActiveSource => _inputSource; 140internal override PresentationSource CriticalActiveSource => _inputSource; 322if (InRange && _inputSource?.CompositionTarget is { } target && !target.IsDisposed) 324Point ptDevice = PointUtil.ScreenToClient(_lastScreenLocation, _inputSource); 327IInputElement stylusOver = Input.StylusDevice.GlobalHitTest(_inputSource, ptDevice); 339PenContext penContext = _stylusLogic.GetStylusPenContextForHwnd(_inputSource, TabletDevice.Id); 358_inputSource, 650if (CapturedMode == CaptureMode.SubTree && _inputSource != null) 652Point pt = _stylusLogic.DeviceUnitsFromMeasureUnits(_inputSource, GetPosition(null)); 653inputElementHit = FindTarget(_inputSource, pt); 661if (_inputSource is not null) 664pt = _stylusLogic.DeviceUnitsFromMeasureUnits(_inputSource, pt); // change back to device coords. 665IInputElement currentOver = Input.StylusDevice.GlobalHitTest(_inputSource, pt); 1176if (_inputSource != null) 1178relativePresentationSource = _inputSource; 1725mouseInputSource = (_inputSource is not null) ? 1726DetermineValidSource(_inputSource, _eventStylusPoints, null) : null;