2 writes to _hwndTarget
PresentationCore (2)
System\Windows\InterOp\HwndSource.cs (2)
264
_hwndTarget
= new HwndTarget(_hwndWrapper.Handle);
2559
_hwndTarget
= null;
33 references to _hwndTarget
PresentationCore (33)
System\Windows\InterOp\HwndSource.cs (33)
265
_hwndTarget
.UsesPerPixelOpacity = parameters.EffectivePerPixelOpacity;
266
if(
_hwndTarget
.UsesPerPixelOpacity)
268
_hwndTarget
.BackgroundColor = Colors.Transparent;
437
_hwndTarget
?.OnDpiChanged(e);
472
/// We calculate the current client rect size (by asking <see cref="
_hwndTarget
"/>),
478
if (
_hwndTarget
!= null)
484
_hwndTarget
?.OnDpiChangedAfterParent(e);
574
if (
_hwndTarget
!= null &&
_hwndTarget
.IsDisposed == false)
576
_hwndTarget
.RootVisual = _rootVisual;
584
if (
_hwndTarget
!= null && !
_hwndTarget
.IsDisposed)
586
_hwndTarget
.RootVisual = null;
628
if (value != null &&
_hwndTarget
!= null && !
_hwndTarget
.IsDisposed &&
631
_hwndTarget
.EnsureAutomationPeer(value);
699
if (
_hwndTarget
!= null &&
_hwndTarget
.IsDisposed == true)
704
return
_hwndTarget
;
860
return
_hwndTarget
.TransformToDevice.Transform(pt);
865
return
_hwndTarget
.TransformFromDevice.Transform(pt);
999
if ((_rootVisual is UIElement) &&
_hwndTarget
!= null &&
_hwndTarget
.IsDisposed == false)
1013
Debug.Assert(
_hwndTarget
!= null, "HwndTarget is null");
1014
Debug.Assert(
_hwndTarget
.IsDisposed == false, "HwndTarget is disposed");
1121
if(
_hwndTarget
!= null)
1123
return
_hwndTarget
.UsesPerPixelOpacity;
1156
HwndTarget hwndTarget =
_hwndTarget
;
1236
bool usesPerPixelOpacity = _constructionParameters != null ? ((HwndSourceParameters)_constructionParameters).EffectivePerPixelOpacity :
_hwndTarget
.UsesPerPixelOpacity;
2556
if (
_hwndTarget
!= null)
2558
_hwndTarget
.Dispose();
2633
_hwndTarget
!= null &&
2634
_hwndTarget
.IsDisposed == false;