Choosing a Minimum Width

In Windows 8.1, an app’s window can be no narrower than 500 logical pixels by default. You can, however, optionally support narrower widths all the way down to 320 logical pixels. You do this by changing the Minimum width value on the Application tab of your app manifest to “320 px.” This is necessary so Windows knows to allow the user more flexibility in resizing your window when it is sharing the screen with another window.

Apps that choose to support the “narrow mode” down to 320 pixels typically do so because they’ve got content that a user likely wants to monitor or interact with while performing other tasks. Classic examples are a chat program or any kind of news feed (perhaps from Facebook or Twitter). Because ...

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.