O'Reilly logo

Windows Application Development Cookbook by Marcin Jamro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adjusting design based on the device type

UWP applications can run on many devices, including smartphones, tablets, and desktops. However, such devices contain screens of various sizes. Of course, not all designs will look great on both smartphones and big displays. For this reason, it is sometimes a beneficial approach to create separate designs for various device families.

In this recipe, you will learn how to prepare the same registration form in two versions: the default one suitable for desktops and a special one dedicated to smartphones.

Getting ready

To step through this recipe, you only need the automatically generated project.

How to do it...

To create the registration form with smartphone and desktop-oriented versions, you should perform ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required