Book Image

Visual Studio 2015 Cookbook - Second Edition

By : Jeff Martin
Book Image

Visual Studio 2015 Cookbook - Second Edition

By: Jeff Martin

Overview of this book

Visual Studio 2015 is the premier tool for developers targeting the Microsoft platform. Learning how to effectively use this technology can enhance your productivity while simplifying your most common tasks, allowing you more time to focus on your project. Visual Studio 2015 is packed with improvements that increase productivity, and this book walks you through each one in succession to help you smooth your workflow and get more accomplished. From customization and the interface to code snippets and debugging, the Visual Studio upgrade expands your options — and this book is your fast-track guide to getting on board quickly. Visual Studio 2015 Cookbook will introduce you to all the new areas of Visual Studio and how they can quickly be put to use to improve your everyday development tasks. With this book, you will learn not only what VS2015 offers, but what it takes to put it to work for your projects.
Table of Contents (17 chapters)
Visual Studio 2015 Cookbook Second Edition
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Customizing your UWP app


We saw in the previous recipe that creating a new UWP app is pretty simple, but in VS2015, the choices are limited to some basic types. Rather than provide some pre-made templates around common design themes (such as Hub, Split, Items, and so on) as was done previously in VS2013, Microsoft has instead decided to provide us with a blank canvas with which to work. Let's see how we can spruce it up a bit.

Getting ready

Windows 10 is required for this recipe. Visual Studio Community will be used to provide the example screenshots, but of course, a premium edition or VS Express for Windows 10 would also be suitable. If you still have the UWP app created in the previous recipe, open that solution file.

How to do it...

We are going to start with a brand new UWP app, so create a Blank App template. For our example, we will use C#:

  1. Create a new UWP app using the Blank App template.

  2. Once the project has opened, open the file MainPage.xaml, as shown in the following screenshot:

  3. Once...