FAQs & Knowledge Base

Welcome to our Knowledge Base. Search or browse through the topics below to find answers to your questions.

Categories: ShellBrowser .NET Components | ShellBrowser.WPF | Show all categories

high dpi support

Question / Problem

Do the components support high dpi?

Answer / Solution

Yes, ShellBrowser components support high dpi up to per monitor v2, which was added in v6.2.

Follow the instructions here for the configuration of your project.

In order to work correctly your project needs to target .NET Framework 4.8, which contains some important fixes.

For WPF, you need the following additions to your application.manifest to activate high dpi per monitor v2:

<asmv3:application xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" >
  <asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
    <dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2, System</dpiAwareness>
    <dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">True/PM</dpiAware>
  </asmv3:windowsSettings>
</asmv3:application>