Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>There's no way for Windows to know the native DPI (Dots per inches) of your screen, since there's physically no way that the screen can tell it to the computer. This means that a lot of people will have DPI settings, that aren't the same as their monitors native DPI.</p> <p>So- how does this fit into the whole "WPF used DIPs (Device independent pixels)"-debate? Well, for WPF to calculate how large to make a DIP, it needs 1 information and 1 invariant: It needs to know the resolution you're running (not a problem) and it needs for you to set your screen to its native DPI. If your screen it not set to the native DPI, pixels might be larger or smaller than they should, compared to the physical size of the screen.</p> <p>It's quite hard to explain really, have a look at these blog posts: <a href="http://www.odewit.net/ArticleContent.aspx?id=WpfDpiScaling&amp;lang=en&amp;format=html" rel="nofollow noreferrer">http://www.odewit.net/ArticleContent.aspx?id=WpfDpiScaling&amp;lang=en&amp;format=html</a> <a href="http://blogs.microsoft.co.il/blogs/tomershamam/archive/2007/11/30/wpf-is-dpi-depended.aspx" rel="nofollow noreferrer">http://blogs.microsoft.co.il/blogs/tomershamam/archive/2007/11/30/wpf-is-dpi-depended.aspx</a> <a href="http://www.wpflearningexperience.com/?p=41" rel="nofollow noreferrer">http://www.wpflearningexperience.com/?p=41</a> (Down right now :( )</p> <p>In general, you should make your UI scalable with stuff like scrollbars, paging controls and the likes, to avoid overlaps :)</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload