5.3. WPF Events
Now that you've learned how WPF events work, it's time to consider the rich variety of events that you can respond to in your code. Although every element exposes a dizzying array of events, the most important events usually fall into one of five categories:
Lifetime events. These events occur when the element is initialized, loaded, or unloaded.
Mouse events. These events are the result of mouse actions.
Keyboard events. These events are the result of keyboard actions (such as key presses).
Stylus events. These events are the result of using the pen-like stylus, which takes the place of a mouse on a Tablet PC.
Multitouch events. These events are the result of touching down with one or more fingers on a multitouch screen. They're ...
Get Pro WPF in C# 2010: Windows Presentation Foundation in .NET 4 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.