| 2,000 Things You Should Know About WPF |
In WPF, events that fire as a result of interacting with user interface elements are routed up or down a tree of user interface elements. In the example below, we’ve attached a handler for the KeyDown event to the first TextBox control. We also define handlers for the StackPanel that contains this TextBox, as well as the higher level StackPanel [...]




