Routed events and routed commands form the basis for communication among the various parts of your user interface in Windows Presentation Foundation—whether individual controls on one big Window class or controls and their supporting code in separate, decoupled parts of your app.

In the September 2008 issue of MSDN Magazine, Brian Noyes walks you through the details of implementing routed events and commands in WPF.

 

Don’t forget to browse the sample code online.