Open page in silverlight out of browser

2019-07-10 13:43发布

问题:

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.