1 instantiation of HwndTarget
PresentationCore (1)
System\Windows\InterOp\HwndSource.cs (1)
276
_hwndTarget = new
HwndTarget
(_hwndWrapper.Handle);
30 references to HwndTarget
PresentationCore (14)
System\Windows\DpiChangedEventArgs.cs (2)
65
/// When this happens, DPI-change processing logic in <see cref="
HwndTarget
.OnMonitorDPIChanged"/> will
68
/// in response to DPI changes. <see cref="
HwndTarget
.OnMonitorDPIChanged"/> will simply
System\Windows\InterOp\HwndSource.cs (4)
702
public new
HwndTarget
CompositionTarget
1143
HwndTarget
hwndTarget = CompositionTarget; // checks for disposed
1179
HwndTarget
hwndTarget = _hwndTarget;
2805
private
HwndTarget
_hwndTarget;
System\Windows\InterOp\HwndTarget.cs (3)
359
/// which an HWND is used to instantiate an <see cref="
HwndTarget
"/>.
2619
public void AttachHwndTarget(
HwndTarget
hwndTarget)
2640
public bool DetachHwndTarget(
HwndTarget
hwndTarget)
System\Windows\Media\MediaContext.cs (3)
189
/// ii. Field is internal to allow <see cref="
HwndTarget
"/> to consume its value
370
HwndTarget
hwndTarget = target as
HwndTarget
;
System\Windows\Media\Visual.cs (2)
2630
if (
HwndTarget
.IsProcessPerMonitorDpiAware == true &&
HwndTarget
.IsPerMonitorDpiScalingEnabled)
PresentationFramework (16)
System\Windows\Controls\Primitives\Popup.cs (5)
3368
HwndTarget
hwndTarget = (
HwndTarget
)newWindow.CompositionTarget;
3514
if (!
HwndTarget
.IsPerMonitorDpiScalingEnabled)
3519
if (
HwndTarget
.IsProcessPerMonitorDpiAware.HasValue)
3521
return
HwndTarget
.IsProcessPerMonitorDpiAware.Value;
System\Windows\SystemResources.cs (6)
1508
/// as reported by <see cref="
HwndTarget
"/>
1510
/// If <see cref="
HwndTarget
"/> has yet to initialize this information, the process
1517
if (
HwndTarget
.IsProcessUnaware == true)
1522
if (
HwndTarget
.IsProcessSystemAware == true)
1527
if (
HwndTarget
.IsProcessPerMonitorDpiAware == true)
1548
return
HwndTarget
.IsPerMonitorDpiScalingEnabled &&
System\Windows\Window.cs (5)
7541
internal
HwndTarget
CompositionTarget
7547
HwndTarget
compositionTarget = _sourceWindow.CompositionTarget;
7849
if (!
HwndTarget
.IsPerMonitorDpiScalingEnabled)
7854
if (
HwndTarget
.IsProcessPerMonitorDpiAware.HasValue)
7856
return
HwndTarget
.IsProcessPerMonitorDpiAware.Value;