private void Button_Click_1(object sender, RoutedEventArgs e) { var contentUri = ContentWebView.BuildLocalStreamUri("WebContent", "SecondaryPage.html"); var contentResolver = new WebContentResolver(); ContentWebView.NavigateToLocalStreamUri(contentUri, contentResolver); }
private void Button_Click(object sender, RoutedEventArgs e) { ErrorBlock.Visibility = Visibility.Collapsed; var contentUri = ContentWebView.BuildLocalStreamUri("WebContent", "PrimaryPage.html"); var contentResolver = new WebContentResolver(); ContentWebView.NavigateToLocalStreamUri(contentUri, contentResolver); }