Webview control for Windows Store app – C#/XAML

The WebView_LoadCompleted event has been deprecated & is/will be obsolete. It may not be available after Windows 8.1 so you should use the NavigationCompleted event instead.  As an example, to get the current URL of from the webview control, try this:

private void myWebView_NavigationCompleted(WebView sender, WebViewNavigationCompletedEventArgs args)
    string myUrl = sender.Source.ToString();


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s