6 references to DpiAwarenessContext
System.Windows.Forms (6)
System\Windows\Forms\Control.cs (3)
419internal DPI_AWARENESS_CONTEXT DpiAwarenessContext => _window.DpiAwarenessContext; 10220Application.UnparkHandle(this, _window.DpiAwarenessContext); 10234Application.UnparkHandle(this, _window.DpiAwarenessContext);
System\Windows\Forms\NativeWindow.cs (3)
424using (ScaleHelper.EnterDpiAwarenessScope(DpiAwarenessContext, DPI_HOSTING_BEHAVIOR.DPI_HOSTING_BEHAVIOR_MIXED)) 484Debug.Assert(DpiAwarenessContext.IsEquivalent(controlHandleDpiContext), 485$"Control's expected DpiAwarenessContext - {DpiAwarenessContext} is different from the DpiAwarenessContext on the Handle created for the control - {controlHandleDpiContext}");