1 instantiation of HwndTarget
PresentationCore (1)
Core\CSharp\System\Windows\Interop\HwndSource.cs (1)
320_hwndTarget = new HwndTarget(_hwndWrapper.Handle);
28 references to HwndTarget
PresentationCore (12)
Core\CSharp\System\Windows\Interop\HwndSource.cs (4)
812public new HwndTarget CompositionTarget 1344HwndTarget hwndTarget = CompositionTarget; // checks for disposed 1389HwndTarget hwndTarget = _hwndTarget; 3214private HwndTarget _hwndTarget;
Core\CSharp\System\Windows\Interop\HwndTarget.cs (3)
388/// which an HWND is used to instantiate an <see cref="HwndTarget"/>. 2809public void AttachHwndTarget(HwndTarget hwndTarget) 2831public bool DetachHwndTarget(HwndTarget hwndTarget)
Core\CSharp\System\Windows\Media\MediaContext.cs (3)
192/// ii. Field is internal to allow <see cref="HwndTarget"/> to consume its value 383HwndTarget hwndTarget = target as HwndTarget;
Core\CSharp\System\Windows\Media\Visual.cs (2)
2655if (HwndTarget.IsProcessPerMonitorDpiAware == true && HwndTarget.IsPerMonitorDpiScalingEnabled)
PresentationFramework (16)
src\Framework\System\Windows\Controls\Primitives\Popup.cs (5)
3500HwndTarget hwndTarget = (HwndTarget)newWindow.CompositionTarget; 3724if (!HwndTarget.IsPerMonitorDpiScalingEnabled) 3729if (HwndTarget.IsProcessPerMonitorDpiAware.HasValue) 3731return HwndTarget.IsProcessPerMonitorDpiAware.Value;
src\Framework\System\Windows\SystemResources.cs (6)
1574/// as reported by <see cref="HwndTarget"/> 1576/// If <see cref="HwndTarget"/> has yet to initialize this information, the process 1583if (HwndTarget.IsProcessUnaware == true) 1588if (HwndTarget.IsProcessSystemAware == true) 1593if (HwndTarget.IsProcessPerMonitorDpiAware == true) 1614return HwndTarget.IsPerMonitorDpiScalingEnabled &&
src\Framework\System\Windows\Window.cs (5)
7994internal HwndTarget CompositionTarget 8001HwndTarget compositionTarget = _sourceWindow.CompositionTarget; 8376if (!HwndTarget.IsPerMonitorDpiScalingEnabled) 8381if (HwndTarget.IsProcessPerMonitorDpiAware.HasValue) 8383return HwndTarget.IsProcessPerMonitorDpiAware.Value;