1 instantiation of HwndTarget
PresentationCore (1)
System\Windows\InterOp\HwndSource.cs (1)
264_hwndTarget = new HwndTarget(_hwndWrapper.Handle);
30 references to HwndTarget
PresentationCore (14)
System\Windows\DpiChangedEventArgs.cs (2)
62/// When this happens, DPI-change processing logic in <see cref="HwndTarget.OnMonitorDPIChanged"/> will 65/// in response to DPI changes. <see cref="HwndTarget.OnMonitorDPIChanged"/> will simply
System\Windows\InterOp\HwndSource.cs (4)
690public new HwndTarget CompositionTarget 1120HwndTarget hwndTarget = CompositionTarget; // checks for disposed 1156HwndTarget hwndTarget = _hwndTarget; 2782private HwndTarget _hwndTarget;
System\Windows\InterOp\HwndTarget.cs (3)
346/// which an HWND is used to instantiate an <see cref="HwndTarget"/>. 2606public void AttachHwndTarget(HwndTarget hwndTarget) 2627public bool DetachHwndTarget(HwndTarget hwndTarget)
System\Windows\Media\MediaContext.cs (3)
168/// ii. Field is internal to allow <see cref="HwndTarget"/> to consume its value 349HwndTarget hwndTarget = target as HwndTarget;
System\Windows\Media\Visual.cs (2)
2614if (HwndTarget.IsProcessPerMonitorDpiAware == true && HwndTarget.IsPerMonitorDpiScalingEnabled)
PresentationFramework (16)
System\Windows\Controls\Primitives\Popup.cs (5)
3361HwndTarget hwndTarget = (HwndTarget)newWindow.CompositionTarget; 3507if (!HwndTarget.IsPerMonitorDpiScalingEnabled) 3512if (HwndTarget.IsProcessPerMonitorDpiAware.HasValue) 3514return HwndTarget.IsProcessPerMonitorDpiAware.Value;
System\Windows\SystemResources.cs (6)
1501/// as reported by <see cref="HwndTarget"/> 1503/// If <see cref="HwndTarget"/> has yet to initialize this information, the process 1510if (HwndTarget.IsProcessUnaware == true) 1515if (HwndTarget.IsProcessSystemAware == true) 1520if (HwndTarget.IsProcessPerMonitorDpiAware == true) 1541return HwndTarget.IsPerMonitorDpiScalingEnabled &&
System\Windows\Window.cs (5)
7528internal HwndTarget CompositionTarget 7534HwndTarget compositionTarget = _sourceWindow.CompositionTarget; 7836if (!HwndTarget.IsPerMonitorDpiScalingEnabled) 7841if (HwndTarget.IsProcessPerMonitorDpiAware.HasValue) 7843return HwndTarget.IsProcessPerMonitorDpiAware.Value;