You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
378 B

namespace ex_ShellRoutes;
public partial class MainPage : ContentPage
{
public MainPage()
{
InitializeComponent();
}
private async void GoToNewPage1(object sender, EventArgs e)
{
await Shell.Current.GoToAsync("//newpage1");
}
private async void PushNewPage2(object sender, EventArgs e)
{
await Navigation.PushAsync(new NewPage2());
}
}