Ejemplo n.º 1
0
        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            base.OnNavigatedTo(e);

            var site = (e.Parameter as Dictionary <string, string>)["site"];

            WebViewer.Navigate(new Uri(site));
        }
Ejemplo n.º 2
0
        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));
        }
Ejemplo n.º 3
0
    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));
    }