0
如何在Windows Phone 8中按需显示网页?如何在Windows Phone 8中显示网页?
如何在Windows Phone 8中按需显示网页?如何在Windows Phone 8中显示网页?
如果要启动Inernet Explorer中指定的网页,使用WebBrowserTask:
WebBrowserTask webBrowserTask = new WebBrowserTask();
webBrowserTask.Uri = new Uri("http://www.google.com", UriKind.Absolute);
webBrowserTask.Show();
如果你想在你的应用程序中嵌入一个Web浏览器,使用WebBrowser control
<phone:WebBrowser x:Name="webBrowser1" IsScriptEnabled="True" />
并且在代码隐藏中:
webBrowser1.Source = new Uri("http://www.google.com");