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)
272
if (
_hwndTarget
.UsesPerPixelOpacity)
274
_hwndTarget
.BackgroundColor = Colors.Transparent;
443
_hwndTarget
?.OnDpiChanged(e);
478
/// We calculate the current client rect size (by asking <see cref="
_hwndTarget
"/>),
484
if (
_hwndTarget
!= null)
490
_hwndTarget
?.OnDpiChangedAfterParent(e);
580
if (
_hwndTarget
!= null &&
_hwndTarget
.IsDisposed == false)
582
_hwndTarget
.RootVisual = _rootVisual;
590
if (
_hwndTarget
!= null && !
_hwndTarget
.IsDisposed)
592
_hwndTarget
.RootVisual = null;
634
if (value != null &&
_hwndTarget
!= null && !
_hwndTarget
.IsDisposed &&
637
_hwndTarget
.EnsureAutomationPeer(value);
705
if (
_hwndTarget
!= null &&
_hwndTarget
.IsDisposed == true)
710
return
_hwndTarget
;
866
return
_hwndTarget
.TransformToDevice.Transform(pt);
871
return
_hwndTarget
.TransformFromDevice.Transform(pt);
1005
if ((_rootVisual is UIElement) &&
_hwndTarget
!= null &&
_hwndTarget
.IsDisposed == false)
1019
Debug.Assert(
_hwndTarget
!= null, "HwndTarget is null");
1020
Debug.Assert(
_hwndTarget
.IsDisposed == false, "HwndTarget is disposed");
1127
if(
_hwndTarget
!= null)
1129
return
_hwndTarget
.UsesPerPixelOpacity;
1162
HwndTarget hwndTarget =
_hwndTarget
;
1242
bool usesPerPixelOpacity = _constructionParameters != null ? ((HwndSourceParameters)_constructionParameters).EffectivePerPixelOpacity :
_hwndTarget
.UsesPerPixelOpacity;
2567
if (
_hwndTarget
!= null)
2569
_hwndTarget
.Dispose();
2644
_hwndTarget
!= null &&
2645
_hwndTarget
.IsDisposed == false;