2 writes to _hwndTarget
PresentationCore (2)
System\Windows\InterOp\HwndSource.cs (2)
267_hwndTarget = new HwndTarget(_hwndWrapper.Handle) 2569_hwndTarget = null;
32 references to _hwndTarget
PresentationCore (32)
System\Windows\InterOp\HwndSource.cs (32)
271if (_hwndTarget.UsesPerPixelOpacity) 273_hwndTarget.BackgroundColor = Colors.Transparent; 442_hwndTarget?.OnDpiChanged(e); 477/// We calculate the current client rect size (by asking <see cref="_hwndTarget"/>), 483if (_hwndTarget != null) 489_hwndTarget?.OnDpiChangedAfterParent(e); 579if (_hwndTarget != null && !_hwndTarget.IsDisposed) 581_hwndTarget.RootVisual = _rootVisual; 589if (_hwndTarget != null && !_hwndTarget.IsDisposed) 591_hwndTarget.RootVisual = null; 633if (value != null && _hwndTarget != null && !_hwndTarget.IsDisposed && 636_hwndTarget.EnsureAutomationPeer(value); 704if (_hwndTarget!= null && _hwndTarget.IsDisposed) 709return _hwndTarget; 865return _hwndTarget.TransformToDevice.Transform(pt); 870return _hwndTarget.TransformFromDevice.Transform(pt); 1004if ((_rootVisual is UIElement) && _hwndTarget!= null && !_hwndTarget.IsDisposed) 1018Debug.Assert(_hwndTarget!= null, "HwndTarget is null"); 1019Debug.Assert(!_hwndTarget.IsDisposed, "HwndTarget is disposed"); 1126if(_hwndTarget != null) 1128return _hwndTarget.UsesPerPixelOpacity; 1161HwndTarget hwndTarget = _hwndTarget; 1241bool usesPerPixelOpacity = _constructionParameters != null ? ((HwndSourceParameters)_constructionParameters).EffectivePerPixelOpacity : _hwndTarget.UsesPerPixelOpacity; 2566if (_hwndTarget != null) 2568_hwndTarget.Dispose(); 2642return !_isDisposed && _hwndTarget is not null && !_hwndTarget.IsDisposed;