0

我需要我的 (Winform) 应用程序在 Windows 7、Windows 8 / 8.1 和 Windows 10 中为更高 dpi 正确扩展。我很困惑我需要哪个选项。我通过将以下内容添加到其清单中,使我的应用程序能够识别 DPI:

<application xmlns="urn:schemas-microsoft-com:asm.v3">
    <windowsSettings>
      <dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
    </windowsSettings>
</application>

上面的评论说

"Indicates that the application is DPI-aware and will not be automatically scaled by Windows at higher DPIs." 

但我不确定这适用于哪些平台?我已将 AutoScaleMode 更改为 Dpi 并设计为 96dpi。我知道这段代码可以让应用程序感知 DPI,但我不确定哪些平台?

4

0 回答 0