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 and using a user control

While developing applications, you can use a set of predefined controls, but it is also possible to define your own ones. Such an approach is really beneficial and important. In this recipe, you will learn how to create your own user control (representing a tile with an icon and a title), define its properties, and place it on the page. What is more, you will see how to use the NuGet Package Manager to download additional packages.

Getting ready

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

How to do it...

To install the additional package from the NuGet Package Manager, define an example user control, and place it on the page, you should perform the following steps:

  1. Install PropertyChanged.Fody ...

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