Multiple Files for Multiple Environments

Unlike vector graphics, you need to worry about artifacts when Images are scaled to anything other than their natural size, especially when they are scaled upward. Even if you never scale Image elements yourself, there are still cases when Windows automatically scales all content in universal apps. For example, the following scale factors are used:

180% (80% larger) on a screen with at least a Wide Quad High Definition (WQHD) resolution (2560x1440 pixels) and at least 240 DPI

140% (40% larger) on a screen with at least a Full HD resolution (1920x1080 pixels) and at least 174 DPI

100% (no scaling) on a lesser screen

This automatic scaling is critical for apps to look good and be usable on traditional ...

Get Universal Windows® Apps with XAML and C# Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.