One of the most frequently asked question in Xamarin forums.
HOW DO I NAVIGATE BETWEEN CONTENT PAGES???
I hope it help new Xamarin coders who are joining the Xamarin family and of course a reference for experience programmers.
Some Source code frome the VLog… Saves you typing time.
XAML in MainPage.xaml
<Button x:Name=”cmdGotoPage2″ Text=”Go To Page 2″ Clicked=”cmdGotoPage2_Clicked”></Button>
C# Code behind the MainPagexaml.cs
private async void cmdGotoPage2_Clicked(object sender, EventArgs e)
await Navigation.PushAsync(new NavigationPage(new Page2());
Code modification behing App.xaml.cs
MainPage = new NavigationPage(new MainPage());