Local HTML File - WebBrowser - Windows phone 7

后端 未结 2 1750
执笔经年
执笔经年 2021-01-14 16:55

I need help in displaying HTML File in webbrowser in Windows phone 7 app.

I\'ve an html file in my wpf-silverlight project as resource. Now When the user click on He

相关标签:
2条回答
  • 2021-01-14 17:17

    You can use method NavigatedToString of WebBrowse object by getting content of html file and put it as parameter of this method.

    http://msdn.microsoft.com/en-us/library/system.windows.controls.webbrowser.navigatetostring.aspx

    samples at: http://blogs.msdn.com/b/mikeormond/archive/2010/12/16/displaying-html-content-in-windows-phone-7.aspx

    0 讨论(0)
  • 2021-01-14 17:31

    You can try this,

    http://www.c-sharpcorner.com/uploadfile/raj1979/how-to-embed-html-file-in-windows-phone-7/

    and for with image in html

    you can this, Use local images in Webbrowser control

    using IsolatedStorages

    0 讨论(0)
提交回复
热议问题