In
this article I am going to focus on two very important items in the
list of new WPF elements to master. These items—routed events and
routed commands—are related to each other. They form the basis for
communication among the various parts of your user interface—whether
those parts are individual controls on one big Window class or whether
they are controls and their supporting code in separate, decoupled
parts of your user interface. For this article I am assuming you are
already familiar with the fundamentals of WPF, such as how to construct
a UI using built-in WPF controls and declaring the layout of your UI in
XAML.
Read complete article here:
Advanced WPF: Understanding Routed Events And Commands In WPF