1 instantiation of HwndTarget
PresentationCore (1)
System\Windows\InterOp\HwndSource.cs (1)
267_hwndTarget = new HwndTarget(_hwndWrapper.Handle)
30 references to HwndTarget
PresentationCore (14)
System\Windows\DpiChangedEventArgs.cs (2)
61/// When this happens, DPI-change processing logic in <see cref="HwndTarget.OnMonitorDPIChanged"/> will 64/// in response to DPI changes. <see cref="HwndTarget.OnMonitorDPIChanged"/> will simply
System\Windows\InterOp\HwndSource.cs (4)
695public new HwndTarget CompositionTarget 1125HwndTarget hwndTarget = CompositionTarget; // checks for disposed 1161HwndTarget hwndTarget = _hwndTarget; 2790private HwndTarget _hwndTarget;
System\Windows\InterOp\HwndTarget.cs (3)
343/// which an HWND is used to instantiate an <see cref="HwndTarget"/>. 2578public void AttachHwndTarget(HwndTarget hwndTarget) 2595public bool DetachHwndTarget(HwndTarget hwndTarget)
System\Windows\Media\MediaContext.cs (3)
167/// ii. Field is internal to allow <see cref="HwndTarget"/> to consume its value 348HwndTarget hwndTarget = target as HwndTarget;
System\Windows\Media\Visual.cs (2)
2611if (HwndTarget.IsProcessPerMonitorDpiAware == true && HwndTarget.IsPerMonitorDpiScalingEnabled)
PresentationFramework (16)
System\Windows\Controls\Primitives\Popup.cs (5)
3367HwndTarget hwndTarget = (HwndTarget)newWindow.CompositionTarget; 3511if (!HwndTarget.IsPerMonitorDpiScalingEnabled) 3516if (HwndTarget.IsProcessPerMonitorDpiAware.HasValue) 3518return HwndTarget.IsProcessPerMonitorDpiAware.Value;
System\Windows\SystemResources.cs (6)
1484/// as reported by <see cref="HwndTarget"/> 1486/// If <see cref="HwndTarget"/> has yet to initialize this information, the process 1493if (HwndTarget.IsProcessUnaware == true) 1498if (HwndTarget.IsProcessSystemAware == true) 1503if (HwndTarget.IsProcessPerMonitorDpiAware == true) 1524return HwndTarget.IsPerMonitorDpiScalingEnabled &&
System\Windows\Window.cs (5)
7499internal HwndTarget CompositionTarget 7505HwndTarget compositionTarget = _sourceWindow.CompositionTarget; 7804if (!HwndTarget.IsPerMonitorDpiScalingEnabled) 7809if (HwndTarget.IsProcessPerMonitorDpiAware.HasValue) 7811return HwndTarget.IsProcessPerMonitorDpiAware.Value;