2 writes to _hwndTarget
PresentationCore (2)
Core\CSharp\System\Windows\Interop\HwndSource.cs (2)
320
_hwndTarget
= new HwndTarget(_hwndWrapper.Handle);
2940
_hwndTarget
= null;
34 references to _hwndTarget
PresentationCore (34)
Core\CSharp\System\Windows\Interop\HwndSource.cs (34)
321
_hwndTarget
.UsesPerPixelOpacity = parameters.EffectivePerPixelOpacity;
322
if(
_hwndTarget
.UsesPerPixelOpacity)
324
_hwndTarget
.BackgroundColor = Colors.Transparent;
520
_hwndTarget
?.OnDpiChanged(e);
555
/// We calculate the current client rect size (by asking <see cref="
_hwndTarget
"/>),
560
/// Critical: Accesses <see cref="
_hwndTarget
"/>
566
if (
_hwndTarget
!= null)
572
_hwndTarget
?.OnDpiChangedAfterParent(e);
676
if (
_hwndTarget
!= null &&
_hwndTarget
.IsDisposed == false)
678
_hwndTarget
.RootVisual = _rootVisual.Value;
686
if (
_hwndTarget
!= null && !
_hwndTarget
.IsDisposed)
688
_hwndTarget
.RootVisual = null;
733
if (value != null &&
_hwndTarget
!= null && !
_hwndTarget
.IsDisposed &&
736
_hwndTarget
.EnsureAutomationPeer(value);
823
if (
_hwndTarget
!= null &&
_hwndTarget
.IsDisposed == true)
828
return
_hwndTarget
;
1019
return
_hwndTarget
.TransformToDevice.Transform(pt);
1029
return
_hwndTarget
.TransformFromDevice.Transform(pt);
1211
if ((_rootVisual.Value is UIElement) &&
_hwndTarget
!= null &&
_hwndTarget
.IsDisposed == false)
1231
Debug.Assert(
_hwndTarget
!= null, "HwndTarget is null");
1232
Debug.Assert(
_hwndTarget
.IsDisposed == false, "HwndTarget is disposed");
1345
if(
_hwndTarget
!= null)
1347
return
_hwndTarget
.UsesPerPixelOpacity;
1389
HwndTarget hwndTarget =
_hwndTarget
;
1474
bool usesPerPixelOpacity = _constructionParameters != null ? ((HwndSourceParameters)_constructionParameters).EffectivePerPixelOpacity :
_hwndTarget
.UsesPerPixelOpacity;
2937
if (
_hwndTarget
!= null)
2939
_hwndTarget
.Dispose();
3034
_hwndTarget
!= null &&
3035
_hwndTarget
.IsDisposed == false;