Managing WebBrowser in UWP (Windows 10) XAML

Can you tell me how I can provide browser control in XAML Windows 10 (WUP)? When I use WebControl, I get a compilation error that says

In the Windows Universal project, WebBrowser is not supported.

I need to show an "external" website, not a static HTML resource.

+6
source share
2 answers

Generic Windows applications in Xaml use Windows.UI.Xaml.Controls.WebView to display HTML content.

Xaml:

<WebView Source="http://stackoverflow.com" /> 

From the code:

  myWebView.Source = new Uri("http://stackoverflow.com"); 
+13
source

From my experience, others the higher you can go. Package Package.app shows the start page at the desired URL.

0
source

All Articles