title: NavigationPage as a child of a TabbedPage in XAML
body: <p>I am trying to find a way to add a NavigationPage be a child of a TabbedPage in XAML. Adding xaml for NavigationPage doesn't work for me. In my code, GetMainPage() returned page is a TabbedPage XAML, and it has children, which are also described in XAML, how can I insert a NavigationPage programmatically in between the XAML?</p>
  
  <p>Following is my code:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;TabbedPage xmlns="http://xamarin.com/schemas/2014/forms"
           xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
     &lt;ContentPage x:Name="FirstTab" Title="Music"&gt;
        &lt;StackLayout Padding="5, 25"&gt;
            ...
        &lt;/StackLayout&gt;
     &lt;/ContentPage&gt;--&gt;
     &lt;ContentPage x:Name="SecondTab" Title="Videos"&gt;
        &lt;StackLayout Padding="5, 25"&gt;
            ...
        &lt;/StackLayout&gt;
     &lt;/ContentPage&gt;--&gt;
     &lt;ContentPage x:Name="ThirdTab" Title="Movies"&gt;
        &lt;StackLayout Padding="5, 25"&gt;
            ...
        &lt;/StackLayout&gt;
     &lt;/ContentPage&gt;--&gt;
  &lt;/TabbedPage&gt;
  </code></pre>
  
  <p>And in App.cs</p>
  
  <pre><code>public App()
  {
          // The root page of your application
          MainPage = new NavigationPage(new TabbedMainPage());
  }
  </code></pre>