2 writes to _source
PresentationCore (2)
System\Windows\InterOp\HwndMouseInputProvider.cs (2)
23_source = source; 67_source = null;
29 references to _source
PresentationCore (29)
System\Windows\InterOp\HwndMouseInputProvider.cs (29)
38StopTracking(_source.Handle); 43if(_source.HasCapture) 72return _source.RootVisual == v; 79StopTracking(_source.Handle); 120Debug.Assert(_source is not null); 124SafeNativeMethods.SetCapture(new HandleRef(this, _source.Handle)); 126if (capture != _source.Handle) 154SafeNativeMethods.ScreenToClient(new HandleRef(this, _source.Handle), ref ptCursor); 165ReportInput(_source.Handle, 323if(_source is null) 673IntPtr hwndCurrent = _source.Handle; 727if(lParam != _source.Handle) // Ignore odd messages that claim we are losing capture to ourselves. 779if(_source.HasCapture) 866if(_source != null && !_source.IsDisposed && _source.CompositionTarget != null) 867dispatcherHashCode = _source.CompositionTarget.Dispatcher.GetHashCode(); 891if (_source is null) 938if (!stillActiveIfOverSelf && hwndToCheck == _source.Handle) 980ReportInput(_source.Handle, 1089Assembly presentationFramework = GetPresentationFrameworkFromHwndSource(_source); 1185Debug.Assert(_source is not null); 1193if(hwndSource.Dispatcher == _source.Dispatcher) 1230Debug.Assert(_source is not null); 1231if (_source is null) 1236PresentationSource source = _source; 1389int windowStyle = SafeNativeMethods.GetWindowStyle(new HandleRef(this, _source.Handle), true); 1394SafeNativeMethods.GetClientRect(new HandleRef(this, _source.Handle), ref rcClient); 1444currentPosition = PointUtil.ClientToScreen(currentPosition, _source);