title: how to trigger a button click in my code?
body: <p>How can I trigger a button click directly in my code?</p>
  
  <p>I have a code like this:</p>
  
  <pre><code>namespace App1
  {
      /// &lt;summary&gt;
      /// An empty page that can be used on its own or navigated to within a Frame.
      /// &lt;/summary&gt;
      public sealed partial class MainPage : Page
      {
          public MainPage()
          {
              this.InitializeComponent();
          }
  
          protected override void OnNavigatedTo(NavigationEventArgs e)
          {
              // fire a click ebent von the "Button" MyBtn
          }
  
          private void Button_Click(object sender, RoutedEventArgs e)
          {
              // ...
          }
      }
  }
  </code></pre>
  
  <p>Is it possible to fire a click event von the button <code>MyBtn</code>? If yes how?</p>
  
  <p>I know I can call the <code>Button_Click</code> method, but I want to call it over the button.</p>
  
  <p>something like: <code>MyBtn.FireClickEvent();</code></p>