Jul 172012
 July 17, 2012  Posted by at 9:42 am WinRT 4 Responses »
WinRT/Metro App Q n’ A: How do I get the screen resolution and scale?

Following a discussion on the Metro/WinRT mailinglist I’ve decided to share a handy little code snippet. With different screen resolutions, aspect ratios and scaling you might need to display things differently, and maybe you would like to access the resolution and scale details in code/programmatically. Well, it’s actually quite easy: [sourcecode language=”XML”] // double height […]