2 writes to _hwndTarget
PresentationCore (2)
Core\CSharp\System\Windows\Interop\HwndSource.cs (2)
320_hwndTarget = new HwndTarget(_hwndWrapper.Handle); 2940_hwndTarget = null;
34 references to _hwndTarget
PresentationCore (34)
Core\CSharp\System\Windows\Interop\HwndSource.cs (34)
321_hwndTarget.UsesPerPixelOpacity = parameters.EffectivePerPixelOpacity; 322if(_hwndTarget.UsesPerPixelOpacity) 324_hwndTarget.BackgroundColor = Colors.Transparent; 520_hwndTarget?.OnDpiChanged(e); 555/// We calculate the current client rect size (by asking <see cref="_hwndTarget"/>), 560/// Critical: Accesses <see cref="_hwndTarget"/> 566if (_hwndTarget != null) 572_hwndTarget?.OnDpiChangedAfterParent(e); 676if (_hwndTarget != null && _hwndTarget.IsDisposed == false) 678_hwndTarget.RootVisual = _rootVisual.Value; 686if (_hwndTarget != null && !_hwndTarget.IsDisposed) 688_hwndTarget.RootVisual = null; 733if (value != null && _hwndTarget != null && !_hwndTarget.IsDisposed && 736_hwndTarget.EnsureAutomationPeer(value); 823if (_hwndTarget!= null && _hwndTarget.IsDisposed == true) 828return _hwndTarget; 1019return _hwndTarget.TransformToDevice.Transform(pt); 1029return _hwndTarget.TransformFromDevice.Transform(pt); 1211if ((_rootVisual.Value is UIElement) && _hwndTarget!= null && _hwndTarget.IsDisposed == false) 1231Debug.Assert(_hwndTarget!= null, "HwndTarget is null"); 1232Debug.Assert(_hwndTarget.IsDisposed == false, "HwndTarget is disposed"); 1345if(_hwndTarget != null) 1347return _hwndTarget.UsesPerPixelOpacity; 1389HwndTarget hwndTarget = _hwndTarget; 1474bool usesPerPixelOpacity = _constructionParameters != null ? ((HwndSourceParameters)_constructionParameters).EffectivePerPixelOpacity : _hwndTarget.UsesPerPixelOpacity; 2937if (_hwndTarget != null) 2939_hwndTarget.Dispose(); 3034_hwndTarget != null && 3035_hwndTarget.IsDisposed == false;