title: Show contentview on frame tapgesture
body: <p>I am developing a cross platform app using xaml forms and have yet to figured out how to call a ContentView ontapGesture. I am able to call ContentView on xaml forms using <code>&lt;local:MailRoomList/&gt;</code> but I cant show a view ontap or on click event.</p>
  
  <p>I have tried to show view on stacklayout using <code>StackLayoutID.Children.Add(new MailRoomList());</code> but thats not what I want. I want to show full contentview on content page with back button enabled.</p>
  
  <p>Please advise. Thank you</p>
  
  <h2>MailRoomList</h2>
  
  <pre class="lang-XAML prettyprint-override"><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;ContentView xmlns="http://xamarin.com/schemas/2014/forms" 
           xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
           x:Class="xx.xxxx.xx.Views.MailRoomList"&gt;
  &lt;ContentView.Content&gt;
    &lt;StackLayout&gt;
        &lt;Label Text="This is my MailRoom List" /&gt;
    &lt;/StackLayout&gt;
  &lt;/ContentView.Content&gt;
  &lt;/ContentView&gt;
  </code></pre>
  
  <h2>OnTapGesture</h2>
  
  <pre class="lang-XAML prettyprint-override"><code>&lt;Frame.GestureRecognizers&gt;
      &lt;TapGestureRecognizer Tapped="OnRegisterMail" NumberOfTapsRequired="1"/&gt;
  &lt;/Frame.GestureRecognizers&gt;
  </code></pre>
  
  <h2>CodeBehind</h2>
  
  <pre class="lang-c# prettyprint-override"><code>async void OnRegisterMail(object sender, EventArgs e)
  {
      await Navigation.PushAsync(new MailRoomList());
  }
  </code></pre>
  
  <p>Edit:
  Home Page</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;xf1:BottomBarPage
           xmlns:xf1="clr-namespace:xx.xxxx.xx.BottomBar" 
           xmlns="http://xamarin.com/schemas/2014/forms"
           xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
           xmlns:local="clr-namespace:xx.xxxx.xx.Views"
          x:Class="xx.xxxx.xx.Views.Home"&gt;
  &lt;ContentPage x:Name="MailRoomPage" Title="MailRoom" Icon="mailroom.png" xf1:BottomBarPageExtensions.TabColor="Orange" xf1:BottomBarPageExtensions.BadgeCount="5"&gt;
      &lt;local:MailRoom/&gt;
  &lt;/ContentPage&gt;
  
  &lt;ContentPage Title="Transport" Icon="transport.png" xf1:BottomBarPageExtensions.TabColor="Green" xf1:BottomBarPageExtensions.BadgeCount="10"&gt;
      &lt;Label VerticalOptions="Center" HorizontalTextAlignment="Center" Text="Transport" FontSize="Large"/&gt;
  &lt;/ContentPage&gt;
  &lt;ContentPage Title="Communication" Icon="communication.png" xf1:BottomBarPageExtensions.TabColor="Blue" xf1:BottomBarPageExtensions.BadgeCount="3"&gt;
      &lt;Label VerticalOptions="Center" HorizontalTextAlignment="Center" Text="Communication" FontSize="Large"/&gt;
  &lt;/ContentPage&gt;
  &lt;ContentPage Title="HSE" Icon="hse.png" xf1:BottomBarPageExtensions.TabColor="Red" xf1:BottomBarPageExtensions.BadgeCount="2"&gt;
      &lt;Label VerticalOptions="Center" HorizontalTextAlignment="Center" Text="HSE" FontSize="Large"/&gt;
  &lt;/ContentPage&gt;
  &lt;ContentPage Title="Meeting" Icon="meeting.png" xf1:BottomBarPageExtensions.TabColor="DarkCyan" xf1:BottomBarPageExtensions.BadgeCount="5"&gt;
      &lt;Label VerticalOptions="Center" HorizontalTextAlignment="Center" Text="Meeting" FontSize="Large"/&gt;
  &lt;/ContentPage&gt;
  </code></pre>
  
  <p></p>
  
  <p>From homepage above I am calling my view <code>&lt;local:MailRoom/&gt;</code> which is calling another view MailRoomList. This is where I need your advice on how to call a content view from another content view.</p>