Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Saturday, June 6, 2015 6:20 PM | 1 vote
How to set the EnableWindowsFormsHighDpiAutoResizing = True in app.config. I have not modified this file before and I worry in case I did something wrong to it. Thanks
Kahlua
All replies (1)
Sunday, June 7, 2015 6:56 AM ✅Answered | 1 vote
This new setting is described in documentation: https://msdn.microsoft.com/en-us/library/ms171868%28v=vs.110%29.aspx. It has to be added to App.config file. If your project does not contain it yet, the go to PROJECT menu, then Add New Item and select “Application Configuration File”. Then add the setting inside the <configuration> element:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="EnableWindowsFormsHighDpiAutoResizing" value="true" />
</appSettings>
</configuration>