2 writes to _source
PresentationCore (2)
System\Windows\InterOp\HwndMouseInputProvider.cs (2)
22_source = source; 66_source = null;
29 references to _source
PresentationCore (29)
System\Windows\InterOp\HwndMouseInputProvider.cs (29)
37StopTracking(_source.Handle); 42if(_source.HasCapture) 71return _source.RootVisual == v; 78StopTracking(_source.Handle); 119Debug.Assert(_source is not null); 123SafeNativeMethods.SetCapture(new HandleRef(this, _source.Handle)); 125if (capture != _source.Handle) 153SafeNativeMethods.ScreenToClient(new HandleRef(this, _source.Handle), ref ptCursor); 164ReportInput(_source.Handle, 319if(_source is null) 666IntPtr hwndCurrent = _source.Handle; 720if(lParam != _source.Handle) // Ignore odd messages that claim we are losing capture to ourselves. 772if(_source.HasCapture) 859if(_source != null && !_source.IsDisposed && _source.CompositionTarget != null) 860dispatcherHashCode = _source.CompositionTarget.Dispatcher.GetHashCode(); 884if (_source is null) 931if (!stillActiveIfOverSelf && hwndToCheck == _source.Handle) 973ReportInput(_source.Handle, 1082Assembly presentationFramework = GetPresentationFrameworkFromHwndSource(_source); 1178Debug.Assert(_source is not null); 1186if(hwndSource.Dispatcher == _source.Dispatcher) 1223Debug.Assert(_source is not null); 1224if (_source is null) 1229PresentationSource source = _source; 1382int windowStyle = SafeNativeMethods.GetWindowStyle(new HandleRef(this, _source.Handle), true); 1387SafeNativeMethods.GetClientRect(new HandleRef(this, _source.Handle), ref rcClient); 1437currentPosition = PointUtil.ClientToScreen(currentPosition, _source);