开发者

Open Web Page in Silverlight Windows Phone application

I have a Windows Phone 7 application written in Silverlight. I have a button in this application. When a user clicks this button, I want it to open the web browser and navigate the user to my website. Is it possible to do this without loading开发者_如何学JAVA a web browser control in my application? If so how?

Thanks!


Yes, you can use the WebBrowserTask class to accomplish that. Use it as follows:

WebBrowserTask task = new WebBrowserTask();
task.URL = "https://www.paypal.com/";
task.Show();
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜