title: Call method of a user control on Button click in MVVM
body: <p>I have a MVVM application. Well, it's not <em>exactly</em> 100% pure MVVM for various reasons, but I'm trying to follow its most important principles.</p>
  
  <p>I want to call <code>Foobar</code> method (which executes purely view-related logic) of <code>MyUserControl</code> class contained in <code>MyUserControl.xaml.cs</code> on <code>Button</code> click. Both <code>Button</code>and <code>MyUserControl</code> instance exist in the same <code>PageView</code> (whose data context is some irrelevant view-model). </p>
  
  <p><code>&lt;Button Click="Foobar"/&gt;</code> doesn't work, because the stub appears in <code>PageView.xaml.cs</code> instead of <code>MyUserControl.xaml.cs</code>.</p>
  
  <p>Is it possible to link <code>Button</code>'s Click event with <code>Foobar</code> invocation in XAML?</p>