Routed commands are used to navigate a route through the element hierarchy. This process is also well known as bubbling and tunneling. The class RoutedCommand implements the ICommand interface and allows the attaching of input gestures, such as mouse input and keyboard shortcuts, to the target.
In this recipe, we will learn how to use routed commands with a simple example.