Rendering HTML Content within Silverlight application

一世执手 提交于 2019-12-06 04:22:51

I think the easiest will be to use some 3-rd party solution. For example, Telerik has an HtmlPlaceholder that allows you to display html pages inside Silverlight application. You can see a demo here: http://demos.telerik.com/silverlight/#HtmlPlaceholder/FirstLook

This is how you can use it:

<Grid>
    <telerik:RadHtmlPlaceholder SourceUrl="http://google.com" />
</Grid>

It seems like a lot of trouble to display a bulleted list, you can do that in native Silverlight

http://www.codeproject.com/KB/silverlight/OrderedList_Silverlight.aspx

Otherwise, you can do this:

Blend HTML and Silverlight controls together

Which is what I think you are alluding to in your question

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