Introduction
You’ve now worked with a variety of WPF controls, laid out components using containers, traversed the elements tree, performed data binding,and worked with routed events. Each of these is made possible through the use of several classes: DependencyObject
, UIElement
, and FrameworkElement
, which serve as a base classes for all WPF controls. In this chapter we’ll dig deeper into how these base classes implement dependency properties and routed events.
Key Terms
Some key terms to learn in this chapter are:
- Dependency Property
- Routed Event
- MVVM Pattern
Key Skills
Some key skills you need to develop in this chapter are:
- Creating custom dependency properties
- Handling routed events
- Creating custom routed events
- Using dependency property callbacks