Quantcast
Channel: 2,000 Things You Should Know About WPF » Handled
Browsing latest articles
Browse All 3 View Live

Image may be NSFW.
Clik here to view.

#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


Image may be NSFW.
Clik here to view.

#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


Image may be NSFW.
Clik here to view.

#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
Browsing latest articles
Browse All 3 View Live