开发者

Silverlight 4 - Loading a new webpage on button click?

In the older Silverlights, to open up a n开发者_运维问答ew webpage I'd use HtmlPage.Navigate, but that doesn't appear to work in Silverlight 4. (Yes, I've loaded System.Windows.Browser; )

Thanks in advance!

-Sootah


From MSDN, might using HtmlPage.Window.Navigatework?

System.Windows.Browser.HtmlPage.Window.Navigate(
    new Uri("http://silverlight.net"), 
    "_blank", "height=300,width=600,top=100,left=100");

link text

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜