Open page in silverlight out of browser

折月煮酒 提交于 2019-12-11 00:24:24

问题


Is there any way to open a page in the browser by clicking the app in out-of-browser mode?

Thank you


回答1:


HyperlinkButton works. I was trying with HtmlPage.Window.Navigate with no success. And because the button supports content it is simple to create something like a linked image.




回答2:


Agreed with Artur and simple way to do this is :

1) Put HyperLink Button in your Silverlight page. 2) Generate Click event and provide :

hyperlink.NavigateUri = new Uri("Url",UriKind.RelativeOrAbsolute);

3) Simply Run the Application and Click on HyperLink Button.



来源:https://stackoverflow.com/questions/1401000/open-page-in-silverlight-out-of-browser

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!