views:

1609

answers:

3

In one of our application it is required to display bullet list in one of the Silverlight 2.0 container. We have decided to use HTML markup text for the same. While there are number of options available on Google like overlaying HTML div container etc., I would like to know what is the most workable way of doing this.

+1  A: 

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

Lou Franco
+2  A: 

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>
Kiril
A: 

If you don't need to have clickable hyperlinks, take a look at this:

http://blogs.msdn.com/delay/archive/2007/09/10/bringing-a-bit-of-html-to-silverlight-htmltextblock-makes-rich-text-display-easy.aspx

foson