May 2010
Intermediate to advanced
1752 pages
41h 17m
English
If you have a slight headache at this point in the chapter, this is a perfectly normal response. Building dependency properties can take some time to get used to. However, for better or worse, it is part of the process of building many custom WPF controls, so let's take a look at how to build a dependency property.
Begin by creating a new WPF Application named CustomDepPropApp. Now, using the Project menu, activate the Add UserControl menu option, and create a control named ShowNumberControl.xaml (Figure 31-1).
NOTE
You will learn more details about ...