using System; using System.Windows; using System.Windows.Navigation; namespace Demo.WPF { /// /// Interaction logic for MainWindow.xaml /// public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); this.webView.Navigating += WebView_Navigating; this.webView.Navigated += WebView_Navigated; this.webView.Source = new Uri("http://localhost:5000/index.html"); } private void WebView_Navigated(object sender, NavigationEventArgs e) { } private void WebView_Navigating(object sender, NavigatingCancelEventArgs e) { } } }