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) 669IntPtr hwndCurrent = _source.Handle; 723if(lParam != _source.Handle) // Ignore odd messages that claim we are losing capture to ourselves. 775if(_source.HasCapture) 862if(_source != null && !_source.IsDisposed && _source.CompositionTarget != null) 863dispatcherHashCode = _source.CompositionTarget.Dispatcher.GetHashCode(); 887if (_source is null) 934if (!stillActiveIfOverSelf && hwndToCheck == _source.Handle) 976ReportInput(_source.Handle, 1085Assembly presentationFramework = GetPresentationFrameworkFromHwndSource(_source); 1181Debug.Assert(_source is not null); 1189if(hwndSource.Dispatcher == _source.Dispatcher) 1226Debug.Assert(_source is not null); 1227if (_source is null) 1232PresentationSource source = _source; 1385int windowStyle = SafeNativeMethods.GetWindowStyle(new HandleRef(this, _source.Handle), true); 1390SafeNativeMethods.GetClientRect(new HandleRef(this, _source.Handle), ref rcClient); 1440currentPosition = PointUtil.ClientToScreen(currentPosition, _source);