WPFwiki, wpf, wiki, .net 3.0, windows presentation foundation, FAQ, free resources, solution, development, microsoft Home of the world's largest WPF FAQ
Edit

Category

Routed Events

Edit

Question

What is a Routed Event?

Edit

Answer

A Routed Event is similar to .NET events.

However, unlike .NET events (called CLR events in WPF), if an event is not handled by an element receiving the routed event, the routed event will propagate to the children or to the ancestors (depending on the Routing Strategy of the Routed Event) of the element.

The routed event will "route" as long as it is not marked as handled. If an element marks a routed event as handled, the routed event will not propagate to the next element.

Edit

Keywords

routed event, routing strategy, routedevent, routingstrategy upholstered headboard articles

All content is Copyright ©2007 Xceed Software Inc. unless otherwise indicated. See the Terms of Service. Contributors must read and agree to the Contribution Policy. WPFwiki is brought to you by Xceed, makers of the powerful yet free Xceed DataGrid for WPF.