title: Bubbling up a button command in UserControl
body: <p>I have a button in a user control called LauncherView + LauncherViewModel, I add this to the main window called MainView + MainViewModel.</p>
  
  <p>When I click on the button I would like to capture the event in the MainViewModel. How can I do this?</p>
  
  <p>In the LauncherViewModel is easy enough with:</p>
  
  <pre><code>RelayCommand launchCommand;
  
  public ICommand LaunchCommand{
      get{
          if (launchCommand == null){
              launchCommand = new RelayCommand(LaunchCommandExecute, CanLaunchCommandExecute);
          }
          return launchCommand;
      }
  }
  
  private void LaunchCommandExecute(object parameter){
      //Do something to recognize the button.
      //Could use ObservableCollection&lt;Module&gt; module_objects
      //to match, if I could get the buttons content or name
  }
  
  private bool CanLaunchCommandExecute(object parameter){
      return true;
  }
  </code></pre>
  
  <p>However tried this in the MainViewModel as well hoping for a bubbling effect to occur, no such luck unfortunately.</p>