9 references to DpiAwarenessContext
System.Windows.Forms (9)
System\Windows\Forms\ActiveX\AxHost.cs (1)
3141
Application.ParkHandle(new HandleRef<HWND>(this, hwnd),
DpiAwarenessContext
);
System\Windows\Forms\Application.ThreadContext.cs (1)
156
if (context.IsEquivalent(window.
DpiAwarenessContext
))
System\Windows\Forms\Control.cs (6)
1864
DpiAwarenessContext
.IsEquivalent(DPI_AWARENESS_CONTEXT.DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2),
1865
$"Fonts need to be cached only for PerMonitorV2 mode applications : {ScaleHelper.IsThreadPerMonitorV2Aware} : {
DpiAwarenessContext
}");
4513
Application.ParkHandle(cp,
DpiAwarenessContext
);
6989
Application.ParkHandle(handle: new(this),
DpiAwarenessContext
);
7300
if (!
DpiAwarenessContext
.IsEquivalent(DPI_AWARENESS_CONTEXT.DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2))
10173
Application.ParkHandle(handle: new(this),
DpiAwarenessContext
);
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (1)
428
Application.ParkHandle(new HandleRef<HWND>(AXInPlaceObject, hwndInPlaceObject),
DpiAwarenessContext
);