Open a URL in Windows Store App

How to open a URL in a Windows Store App
  • 2895
1. Add a WebView control to your Windows Store app. 
You can simply drag and drop WebView control from Toolbox to the page.
2. Create a URI and call its Navigate method. 
Pass URL of a website in the Navigate method.
Uri url = new Uri("https://dotnetheaven.com");
WebView1.Navigate(url);
© 2020 DotNetHeaven. All rights reserved.