title: How to get parent frame from page level?
body: <p>I have a window with a frame and few pages. When the window is loaded the frame is navigating to welcome page and when I click a button inside welcome page I want parent frame to navigate to another page. To do that I need to access parent frame from page level but I can't figure out how to do this. I tried code below but it's returning null:</p>
  <pre><code>private void myButton_click(object sender, RoutedEventArgs e)
  {
    SecondPage secPage = new SecondPage();
    ((this.Parent) as Frame).Navigate(secPage);
  }
  </code></pre>
  <p>I checked what <code>this.parent</code> is returning and it is null.
  How can I get parent frame so I can navigate from one page to another?</p>