Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
anaisbetts committed Mar 8, 2014
2 parents ffb499a + 90c2f02 commit d436a26
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
## PerMonitorDpi

Enable Windows 8.1+ Per-Monitor DPI support for Desktop WPF Apps. Instead of attempting to understand [this long MSDN article](http://msdn.microsoft.com/en-us/library/ms701681(v=vs.85).aspx), take advantage of my personal suffering and use this instead:

```sh
Install-Package PerMonitorDpi
```

### How to Use

```cs
public MainWindow()
{
new PerMonitorDpiBehavior(this);
}
```

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.

0 comments on commit d436a26

Please sign in to comment.