title: Fire Parent event based upon child control event in WPF
body: <p>I have a user control that contains button as follows</p>
  
  <pre><code>&lt;UserControl x:Class="MyNamespace.myuseercontrol&gt;
  &lt;Button Name="uxRemove" Grid.Row="2" Grid.Column="5" VerticalAlignment="Center"    
          HorizontalAlignment="Right" Width="70" Content="Remove"
          Click="uxRemove_Click"/&gt; 
  &lt;/UserControl&gt;
  </code></pre>
  
  <p><strong>the main window is as follows</strong>:</p>
  
  <pre><code>&lt;Window&gt;
  &lt;stackpanel&gt;
      &lt;local:MyUserControl x:Name="uxPanel1" /&gt;
  &lt;/stackpanel&gt;
  &lt;/Window&gt;
  </code></pre>
  
  <p>Requirements:</p>
  
  <ol>
  <li>I'd like to fire an event on the parent window when the event uxRemove_Click is fired at the usercontrl.</li>
  <li>I'd like to add property Isenabled to the stackpanel "Usercontrol container" that will be based upon My usercontrol.IsEnabled property.</li>
  </ol>