12 references to DPI_HOSTING_BEHAVIOR
System.Windows.Forms (1)
System\Windows\Forms\NativeWindow.cs (1)
424
using (ScaleHelper.EnterDpiAwarenessScope(DpiAwarenessContext,
DPI_HOSTING_BEHAVIOR
.DPI_HOSTING_BEHAVIOR_MIXED))
System.Windows.Forms.Primitives (11)
System\Windows\Forms\Internals\ScaleHelper.cs (2)
510
DPI_HOSTING_BEHAVIOR
dpiHosting =
DPI_HOSTING_BEHAVIOR
.DPI_HOSTING_BEHAVIOR_MIXED)
System\Windows\Forms\Internals\ScaleHelper.DpiAwarenessScope.cs (6)
19
private readonly
DPI_HOSTING_BEHAVIOR
_originalDpiHostingBehavior;
26
/// <param name="behavior"><see cref="
DPI_HOSTING_BEHAVIOR
"/> to be set on the thread.</param>
27
public DpiAwarenessScope(DPI_AWARENESS_CONTEXT context,
DPI_HOSTING_BEHAVIOR
behavior)
62
if (_originalDpiHostingBehavior ==
DPI_HOSTING_BEHAVIOR
.DPI_HOSTING_BEHAVIOR_INVALID)
71
/// Reset thread's <see cref="DPI_AWARENESS_CONTEXT"/> and <see cref="
DPI_HOSTING_BEHAVIOR
"/>.
77
&& PInvoke.SetThreadDpiHostingBehavior(_originalDpiHostingBehavior) ==
DPI_HOSTING_BEHAVIOR
.DPI_HOSTING_BEHAVIOR_INVALID)
Windows.Win32.PInvoke.USER32.dll.g.cs (3)
1883
internal static extern winmdroot.UI.HiDpi.
DPI_HOSTING_BEHAVIOR
GetThreadDpiHostingBehavior();
3382
internal static extern winmdroot.UI.HiDpi.
DPI_HOSTING_BEHAVIOR
SetThreadDpiHostingBehavior(winmdroot.UI.HiDpi.
DPI_HOSTING_BEHAVIOR
value);