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

Creating the view model for a page

Let's start by creating the view model for a default page within the automatically generated project. This requires a set of steps, including the installation of the additional package using the NuGet Package Manager, creating suitable directories in the project, and defining some classes. All of these steps are explained in detail in this recipe.

Note

The content of this recipe also performs a very important role in the subsequent recipes in this chapter. The set of steps allows you to prepare the custom configuration of the MVVM design pattern, which will be used for further examples as well.

Getting ready

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

How to do it...

To create the ...

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