I've got a source of data that has HTML tags in it (B, I, A) and need to display this in a Silverlight ListBox.
Searching around it seems to be an issue but most of the posts are old and have to do with Silverlight 1 it seems.
What is currently the best way to display simple HTML with Silverlight, if nothing else, just the B, I and A tags for bold, italic and hyperlinks?
There's no native support in Silverlight 2.0. However, someone has gone and created a HtmlTextBlock
control which should be suitable for your purposes. Check out the author's block post on the subject. There's also a demo page here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With