FAQ & Knowledge Base

Herzlich Willkommen in unserer Wissensdatenbank. Nutzen Sie die Suchfunktion oder durchstöbern Sie unsere Kategorien, um Antworten auf Ihre Fragen zu erhalten.

Kategorien: ShellBrowser .NET Components | ShellBrowser.WPF | Alle Kategorien anzeigen

Die folgenden Inhalte sind leider nicht auf Deutsch verfügbar.

high dpi support

Frage / Problem

Do the components support high dpi?

Antwort / Lösung

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>