问题
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