protected override void OnNavigatedTo(NavigationEventArgs e) { base.OnNavigatedTo(e); var site = (e.Parameter as Dictionary <string, string>)["site"]; WebViewer.Navigate(new Uri(site)); }
protected override void OnNavigatedTo(NavigationEventArgs e) { base.OnNavigatedTo(e); var path = String.Format("https://stackexchange.com/oauth/dialog?client_id={0}&scope=read_inbox&redirect_uri={1}", App.ClientId, App.RedirectUri); WebViewer.Navigate(new Uri(path)); }
protected override void OnNavigatedTo(NavigationEventArgs e) { base.OnNavigatedTo(e); var currentView = SystemNavigationManager.GetForCurrentView(); currentView.AppViewBackButtonVisibility = AppViewBackButtonVisibility.Visible; SystemNavigationManager.GetForCurrentView().BackRequested += WebViewPage_BackRequested; var site = (e.Parameter as Dictionary <string, string>)["site"]; WebViewer.Navigate(new Uri(site)); }