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)
812
public new
HwndTarget
CompositionTarget
1344
HwndTarget
hwndTarget = CompositionTarget; // checks for disposed
1389
HwndTarget
hwndTarget = _hwndTarget;
3214
private
HwndTarget
_hwndTarget;
Core\CSharp\System\Windows\Interop\HwndTarget.cs (3)
388
/// which an HWND is used to instantiate an <see cref="
HwndTarget
"/>.
2809
public void AttachHwndTarget(
HwndTarget
hwndTarget)
2831
public 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
383
HwndTarget
hwndTarget = target as
HwndTarget
;
Core\CSharp\System\Windows\Media\Visual.cs (2)
2655
if (
HwndTarget
.IsProcessPerMonitorDpiAware == true &&
HwndTarget
.IsPerMonitorDpiScalingEnabled)
PresentationFramework (16)
src\Framework\System\Windows\Controls\Primitives\Popup.cs (5)
3500
HwndTarget
hwndTarget = (
HwndTarget
)newWindow.CompositionTarget;
3724
if (!
HwndTarget
.IsPerMonitorDpiScalingEnabled)
3729
if (
HwndTarget
.IsProcessPerMonitorDpiAware.HasValue)
3731
return
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
1583
if (
HwndTarget
.IsProcessUnaware == true)
1588
if (
HwndTarget
.IsProcessSystemAware == true)
1593
if (
HwndTarget
.IsProcessPerMonitorDpiAware == true)
1614
return
HwndTarget
.IsPerMonitorDpiScalingEnabled &&
src\Framework\System\Windows\Window.cs (5)
7994
internal
HwndTarget
CompositionTarget
8001
HwndTarget
compositionTarget = _sourceWindow.CompositionTarget;
8376
if (!
HwndTarget
.IsPerMonitorDpiScalingEnabled)
8381
if (
HwndTarget
.IsProcessPerMonitorDpiAware.HasValue)
8383
return
HwndTarget
.IsProcessPerMonitorDpiAware.Value;