开发者

Loading a stream into a Silverlight WebBrowser control

开发者 https://www.devze.com 2023-03-26 19:20 出处:网络
Is there a way to load a stream into the Silverlight WebBrowser control? My use case is that开发者_Go百科 I have HTML files in a XAP that I want to load into the browser without starting a webserver.

Is there a way to load a stream into the Silverlight WebBrowser control?

My use case is that开发者_Go百科 I have HTML files in a XAP that I want to load into the browser without starting a webserver.

Or do I have no option but to start a thin webserver to host the content?


Its simple enough to load up the WebBrowser control with its NavigateToString method.

I can't shake the feeling there is more to your question though, you would surely have come across this method when first looking at this problem.

0

精彩评论

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