2 writes to _hwndTarget
PresentationCore (2)
System\Windows\InterOp\HwndSource.cs (2)
264_hwndTarget = new HwndTarget(_hwndWrapper.Handle); 2559_hwndTarget = null;
33 references to _hwndTarget
PresentationCore (33)
System\Windows\InterOp\HwndSource.cs (33)
265_hwndTarget.UsesPerPixelOpacity = parameters.EffectivePerPixelOpacity; 266if(_hwndTarget.UsesPerPixelOpacity) 268_hwndTarget.BackgroundColor = Colors.Transparent; 437_hwndTarget?.OnDpiChanged(e); 472/// We calculate the current client rect size (by asking <see cref="_hwndTarget"/>), 478if (_hwndTarget != null) 484_hwndTarget?.OnDpiChangedAfterParent(e); 574if (_hwndTarget != null && _hwndTarget.IsDisposed == false) 576_hwndTarget.RootVisual = _rootVisual; 584if (_hwndTarget != null && !_hwndTarget.IsDisposed) 586_hwndTarget.RootVisual = null; 628if (value != null && _hwndTarget != null && !_hwndTarget.IsDisposed && 631_hwndTarget.EnsureAutomationPeer(value); 699if (_hwndTarget!= null && _hwndTarget.IsDisposed == true) 704return _hwndTarget; 860return _hwndTarget.TransformToDevice.Transform(pt); 865return _hwndTarget.TransformFromDevice.Transform(pt); 999if ((_rootVisual is UIElement) && _hwndTarget!= null && _hwndTarget.IsDisposed == false) 1013Debug.Assert(_hwndTarget!= null, "HwndTarget is null"); 1014Debug.Assert(_hwndTarget.IsDisposed == false, "HwndTarget is disposed"); 1121if(_hwndTarget != null) 1123return _hwndTarget.UsesPerPixelOpacity; 1156HwndTarget hwndTarget = _hwndTarget; 1236bool usesPerPixelOpacity = _constructionParameters != null ? ((HwndSourceParameters)_constructionParameters).EffectivePerPixelOpacity : _hwndTarget.UsesPerPixelOpacity; 2556if (_hwndTarget != null) 2558_hwndTarget.Dispose(); 2633_hwndTarget != null && 2634_hwndTarget.IsDisposed == false;