Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 706 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 706 Bytes

PerMonitorDpi

Enable Windows 8.1+ Per-Monitor DPI support for Desktop WPF Apps. Instead of attempting to understand this long MSDN article, take advantage of my personal suffering and use this instead:

Install-Package PerMonitorDpiBehavior

How to Use

<i:Interaction.Behaviors>
    <perMonitorDpi:PerMonitorDpiBehavior/>
</i:Interaction.Behaviors>

To observe the difference, attach a normal monitor to a Surface Pro 2 or other Retina-DPI monitor, then move your window between the two monitors. Per-Monitor DPI apps will stay sharp, normal apps will have blurred text on the Retina monitor.