2 writes to _hwndTarget
PresentationCore (2)
System\Windows\InterOp\HwndSource.cs (2)
268_hwndTarget = new HwndTarget(_hwndWrapper.Handle) 2570_hwndTarget = null;
32 references to _hwndTarget
PresentationCore (32)
System\Windows\InterOp\HwndSource.cs (32)
272if (_hwndTarget.UsesPerPixelOpacity) 274_hwndTarget.BackgroundColor = Colors.Transparent; 443_hwndTarget?.OnDpiChanged(e); 478/// We calculate the current client rect size (by asking <see cref="_hwndTarget"/>), 484if (_hwndTarget != null) 490_hwndTarget?.OnDpiChangedAfterParent(e); 580if (_hwndTarget != null && _hwndTarget.IsDisposed == false) 582_hwndTarget.RootVisual = _rootVisual; 590if (_hwndTarget != null && !_hwndTarget.IsDisposed) 592_hwndTarget.RootVisual = null; 634if (value != null && _hwndTarget != null && !_hwndTarget.IsDisposed && 637_hwndTarget.EnsureAutomationPeer(value); 705if (_hwndTarget!= null && _hwndTarget.IsDisposed == true) 710return _hwndTarget; 866return _hwndTarget.TransformToDevice.Transform(pt); 871return _hwndTarget.TransformFromDevice.Transform(pt); 1005if ((_rootVisual is UIElement) && _hwndTarget!= null && _hwndTarget.IsDisposed == false) 1019Debug.Assert(_hwndTarget!= null, "HwndTarget is null"); 1020Debug.Assert(_hwndTarget.IsDisposed == false, "HwndTarget is disposed"); 1127if(_hwndTarget != null) 1129return _hwndTarget.UsesPerPixelOpacity; 1162HwndTarget hwndTarget = _hwndTarget; 1242bool usesPerPixelOpacity = _constructionParameters != null ? ((HwndSourceParameters)_constructionParameters).EffectivePerPixelOpacity : _hwndTarget.UsesPerPixelOpacity; 2567if (_hwndTarget != null) 2569_hwndTarget.Dispose(); 2644_hwndTarget != null && 2645_hwndTarget.IsDisposed == false;