System.Windows.Browser on Windows Phone

I am trying to open a webpage in a Silverlight application for Windows Phone 7.

Is there a way to open Internet Explorer?

+3
source share
2 answers

You will need to use the WebBrowser task to open a web page in Internet Explorer.
Add the following statement:

using Microsoft.Phone.Tasks;

Then you can use Task in a function like below:

WebBrowserTask task = new WebBrowserTask();
task.URL = "http://www.stackoverflow.com";
task.Show();

Hope this helps!

+9
source

Source: https://habr.com/ru/post/1770372/


All Articles