Welcome to Pete Brown's 10rem.net

First time here? If you are a developer or are interested in Microsoft tools and technology, please consider subscribing to the latest posts.

You may also be interested in my blog archives, the articles section, or some of my lab projects such as the C64 emulator written in Silverlight.

(hide this)

HtmlTextBlock for Silverlight

Pete Brown - 11 September 2007

This is a great control. We could have used the ability to display HTML text in the Carbon Calculator, and I've run into the limitation in other projects. If you want to display HTML rich text in your Silverlight application, and don't feel like parsing it yourself, check out the HtmlTextBlock. If it doesn't do everything you want, snag the source code and enhance it for your own needs.

Interesting that the control also points out a problem with the Silverlight rendering of Lucida Sans Unicode: bold and italic come through as normal. The same font in the browser displays correctly, and other fonts in Silverlight also display correctly.

posted by Pete Brown on Tuesday, September 11, 2007
filed under:  

Comment on this Post

Remember me