You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to disable the windows text size scaling while keep the windows dpi scaling.
After some digging I found this: #3699
However I cannot access CoreWebView2Controller in Microsoft.Web.WebView2.WinForms.WebView2, as it's a private field, ShouldDetectMonitorScaleChanges and RasterizationScaleChanged are not exposed in WebView2.
The scenario/use case where you would use this feature
I want to set ShouldDetectMonitorScaleChanges to false, then set the RasterizationScale to the value of DeviceDpi / 96, this would avoid the influence of windows text size scaling.
How important is this request to you?
Impactful. My app's user experience would be significantly compromised without it.
Suggested implementation
Expose those properties/events in Microsoft.Web.WebView2.WinForms.WebView2, or even better, _coreWebView2Controller field.
What does your app do? Is there a pending deadline for this request?
Our app use webview2 and blazor to render WinForms controls on a browser, it's now generally available internally.
The text was updated successfully, but these errors were encountered:
Describe the feature/enhancement you need
I need to disable the windows text size scaling while keep the windows dpi scaling.
After some digging I found this: #3699
However I cannot access CoreWebView2Controller in Microsoft.Web.WebView2.WinForms.WebView2, as it's a private field, ShouldDetectMonitorScaleChanges and RasterizationScaleChanged are not exposed in WebView2.
The scenario/use case where you would use this feature
I want to set ShouldDetectMonitorScaleChanges to false, then set the RasterizationScale to the value of
DeviceDpi / 96
, this would avoid the influence of windows text size scaling.How important is this request to you?
Impactful. My app's user experience would be significantly compromised without it.
Suggested implementation
Expose those properties/events in Microsoft.Web.WebView2.WinForms.WebView2, or even better,
_coreWebView2Controller
field.What does your app do? Is there a pending deadline for this request?
Our app use webview2 and blazor to render WinForms controls on a browser, it's now generally available internally.
The text was updated successfully, but these errors were encountered: