2 writes to _hwndTarget
PresentationCore (2)
System\Windows\InterOp\HwndSource.cs (2)
276
_hwndTarget
= new HwndTarget(_hwndWrapper.Handle);
2582
_hwndTarget
= null;
33 references to _hwndTarget
PresentationCore (33)
System\Windows\InterOp\HwndSource.cs (33)
277
_hwndTarget
.UsesPerPixelOpacity = parameters.EffectivePerPixelOpacity;
278
if(
_hwndTarget
.UsesPerPixelOpacity)
280
_hwndTarget
.BackgroundColor = Colors.Transparent;
449
_hwndTarget
?.OnDpiChanged(e);
484
/// We calculate the current client rect size (by asking <see cref="
_hwndTarget
"/>),
490
if (
_hwndTarget
!= null)
496
_hwndTarget
?.OnDpiChangedAfterParent(e);
586
if (
_hwndTarget
!= null &&
_hwndTarget
.IsDisposed == false)
588
_hwndTarget
.RootVisual = _rootVisual;
596
if (
_hwndTarget
!= null && !
_hwndTarget
.IsDisposed)
598
_hwndTarget
.RootVisual = null;
640
if (value != null &&
_hwndTarget
!= null && !
_hwndTarget
.IsDisposed &&
643
_hwndTarget
.EnsureAutomationPeer(value);
711
if (
_hwndTarget
!= null &&
_hwndTarget
.IsDisposed == true)
716
return
_hwndTarget
;
872
return
_hwndTarget
.TransformToDevice.Transform(pt);
877
return
_hwndTarget
.TransformFromDevice.Transform(pt);
1022
if ((_rootVisual is UIElement) &&
_hwndTarget
!= null &&
_hwndTarget
.IsDisposed == false)
1036
Debug.Assert(
_hwndTarget
!= null, "HwndTarget is null");
1037
Debug.Assert(
_hwndTarget
.IsDisposed == false, "HwndTarget is disposed");
1144
if(
_hwndTarget
!= null)
1146
return
_hwndTarget
.UsesPerPixelOpacity;
1179
HwndTarget hwndTarget =
_hwndTarget
;
1259
bool usesPerPixelOpacity = _constructionParameters != null ? ((HwndSourceParameters)_constructionParameters).EffectivePerPixelOpacity :
_hwndTarget
.UsesPerPixelOpacity;
2579
if (
_hwndTarget
!= null)
2581
_hwndTarget
.Dispose();
2656
_hwndTarget
!= null &&
2657
_hwndTarget
.IsDisposed == false;