[Solved] Is it possible to disable all HDPI scaling in a net core project

1 Answer 6 Views
Form
Greg
Top achievements
Rank 1
Greg asked on 15 Jun 2026, 07:09 PM

I would to off all scaling in my project and just design for a single type of screen size of 1024 x 768. When I place a control on the form and run it is in correct position, When I go back  in the designer after in has moved outside the form, I have tried  'Telerik.WinControls.RadControl.EnableRadAutoScale' in the program.cs bnut didnt appear to work

Ideas?

1 Answer, 1 is accepted

Sort by
0
Nadya | Tech Support Engineer
Telerik team
answered on 16 Jun 2026, 07:48 AM

Hello, Greg,

You can declare the app as not DPI-aware directly in the manifest file. This can makes Windows handle scaling via bitmap stretching (slightly blurry on high-DPI monitors, but coordinates never shift):

<asmv3:application>
  <asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
    <dpiAware>false</dpiAware>
  </asmv3:windowsSettings>
</asmv3:application>

Or, if you have app.config file defined in your project, you can disable DPI awareness in the app.config file as well using the DpiUnaware value. Check the following article: https://www.telerik.com/products/winforms/documentation/telerik-presentation-framework/dpi-support#high-dpi-support-in-an-application-targeting-net 

 <System.Windows.Forms.ApplicationConfigurationSection>
   <add key="DpiAwareness" value="DpiUnaware" />
 </System.Windows.Forms.ApplicationConfigurationSection>

Also, change AutoScaleMode to None so WinForms doesn't rescale control positions/sizes at runtime:

this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;

Note: While doing your work at design time, make sure that the DPI scalling on your monitor is set at 100%. This is required to prevent controls jumping on different locations after reopen the designer again. More detailed information about how dpi is calculated you can find here: https://www.telerik.com/blogs/winforms-scaling-at-large-dpi-settings-is-it-even-possible- 

More information about how to make WinForms designer dpi unaware is also available here: Fix DPI display issues in Windows Form Designer - Visual Studio (Windows) | Microsoft Learn

In case you are having further difficulties, is it possible to provide me with a project where the issue can be reproduced. Thus, I could be able to investigate the special case more carefully.

Please let me know if I can assist you further.

Regards,
Nadya | Tech Support Engineer
Progress Telerik

Modernizing a WinForms application? Use the AI-powered WinForms Converter to simplify migration to Telerik UI for WinForms.
Tags
Form
Asked by
Greg
Top achievements
Rank 1
Answers by
Nadya | Tech Support Engineer
Telerik team
Share this question
or