-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Windows Application Development Cookbook
By :
Each application contains pages with controls that allow the user to interact with the application. However, only one page is added to the project by default, so in this recipe, you will learn how to add another one.
To step through this recipe, you only need the automatically generated project.
To add a new page to the project, you need to perform the following steps:
.xaml file, representing the new page. The .xaml.cs file will be generated automatically. As an example, you could set the name as AboutPage.xaml.

The files regarding the default page, both .xaml and .xaml.cs, are automatically added to the main directory. However, you do not need to place the files that represent the page here. You could locate such files in a dedicated directory, such as Views. You will learn how to create a new directory as well as place the .xaml and .xaml.cs files there in the Creating the view model for a page recipe in
Chapter 3, MVVM and Data Binding.