title: How do I create a Routed Event in Silverlight 2?
body: <p>Anyone know how to create a routed event in Silverlight 2?  In WPF, the code would be like  below. However, there’s no EventManager in Silverlight.</p>
  
  <pre><code>    public static readonly RoutedEvent ShowVideoEvent =
          EventManager.RegisterRoutedEvent("ShowVideo", RoutingStrategy.Bubble, typeof(RoutedEventHandler), typeof(NavBar));
  
      public event RoutedEventHandler ShowVideo
      {
          add { AddHandler(ShowVideoEvent, value); }
          remove { RemoveHandler(ShowVideoEvent, value); }
      }
  </code></pre>