private void Application_Startup(object sender, StartupEventArgs e) { this.RootVisual = new MainPage(); }