title: How can a button click on a UserControl execute a method in the containing Window?
body: <p>I have a UserControl, we'll call it <code>myUC</code>, that is one among several UserControls in the main window (<code>myWindow</code>) of my WPF application.  <code>myUC</code> contains a number of standard controls, one of them being a button, we'll call it <code>myButton</code>.</p>
  
  <p>When I click <code>myButton</code>, I would like to execute <code>myMethod()</code>, which exists in the code-behind of myWindow.</p>
  
  <p>The problem being that <code>myUC</code> doesn't have any idea that <code>myWindow</code> even exists, much less that myMethod exists.</p>
  
  <p>How can I send the message: 'Hey, myWindow, wake up.  myButton on myUc was just clicked; please run myMethod'?</p>