May 2010
Intermediate to advanced
1752 pages
41h 17m
English
During your examination of dependency properties, you were briefly introduced to the concept of a UserControl. In some ways, a UserControl is the next logical step after a control template. Recall that when you build a control template, you are essentially applying a skin which changes the physical appearance of a WPF control. A custom UserControl, however, allows you to literally build a new class type that may contain unique members (methods, events, properties, etc.). As well, many custom UserControls use templates and styles; however, it is also just fine if the control's tree of markup is defined directly within the <UserControl> scope.
Recall that you can add a UserControl project item to any ...