↧
#583 – Interrupting the Routing Process
We saw that a routed event in WPF can be routed up or down the logical and visual trees, being seen by any element in the hierarchy that chooses to handle the event. In the diagram below, a KeyDown...
View Article#584 – Handling an Event That Has Already Been Handled
When a routed event in WPF is being routed up or down the hierarchy of elements, an element that handles a particular event can choose to optionally mark the event as handled, by setting the...
View Article#637 – Block Repeating Keys by Setting Handled to true
In a keypress event handler, the IsRepeat property indicates whether the current keypress is a result of a character that is repeating because the user is holding the key down. If you want to prohibit...
View Article