2 writes to _hwndTarget
PresentationCore (2)
System\Windows\InterOp\HwndSource.cs (2)
276_hwndTarget = new HwndTarget(_hwndWrapper.Handle); 2582_hwndTarget = null;
33 references to _hwndTarget
PresentationCore (33)
System\Windows\InterOp\HwndSource.cs (33)
277_hwndTarget.UsesPerPixelOpacity = parameters.EffectivePerPixelOpacity; 278if(_hwndTarget.UsesPerPixelOpacity) 280_hwndTarget.BackgroundColor = Colors.Transparent; 449_hwndTarget?.OnDpiChanged(e); 484/// We calculate the current client rect size (by asking <see cref="_hwndTarget"/>), 490if (_hwndTarget != null) 496_hwndTarget?.OnDpiChangedAfterParent(e); 586if (_hwndTarget != null && _hwndTarget.IsDisposed == false) 588_hwndTarget.RootVisual = _rootVisual; 596if (_hwndTarget != null && !_hwndTarget.IsDisposed) 598_hwndTarget.RootVisual = null; 640if (value != null && _hwndTarget != null && !_hwndTarget.IsDisposed && 643_hwndTarget.EnsureAutomationPeer(value); 711if (_hwndTarget!= null && _hwndTarget.IsDisposed == true) 716return _hwndTarget; 872return _hwndTarget.TransformToDevice.Transform(pt); 877return _hwndTarget.TransformFromDevice.Transform(pt); 1022if ((_rootVisual is UIElement) && _hwndTarget!= null && _hwndTarget.IsDisposed == false) 1036Debug.Assert(_hwndTarget!= null, "HwndTarget is null"); 1037Debug.Assert(_hwndTarget.IsDisposed == false, "HwndTarget is disposed"); 1144if(_hwndTarget != null) 1146return _hwndTarget.UsesPerPixelOpacity; 1179HwndTarget hwndTarget = _hwndTarget; 1259bool usesPerPixelOpacity = _constructionParameters != null ? ((HwndSourceParameters)_constructionParameters).EffectivePerPixelOpacity : _hwndTarget.UsesPerPixelOpacity; 2579if (_hwndTarget != null) 2581_hwndTarget.Dispose(); 2656_hwndTarget != null && 2657_hwndTarget.IsDisposed == false;