- Understanding routed events and event signatures
- Wiring up event handlers
- Event bubbling and tunneling
- Programming mouse events
- Programming keyboard and ink events
Skill Level Intermediate
- [Walt] Welcome to my Windows Presentation Foundation Routed Events course. Join me as I continue my series, this time exploring the new Events system included in the WPF framework. This system is a substantial improvement over the standard .NET event model. It was built to enhance events for UI systems that deal with complex object trees representing application interfaces. I start with a look at routed events and attached events. I'll explore how routing works, showing event bubbling up the visual tree, and event tunneling where events move down the tree from parent to child element.
Check out the section on event suppression, a technique that stops an event from traversing further down or up the visual tree. Once the basics are mastered, I can focus on sample events. There is a section on mouse events and another on text and keyboard events. Finally, I close the course with a demonstration on how to work with the InkCanvas and its gesture event.