O'Reilly logo

XAML Unleashed by Adam Nathan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

RichTextBlock

A typical first reaction to discovering the RichTextBlock element is, “Isn’t TextBlock already rich?” TextBlock can do a lot when it comes to formatting text, but RichTextBlock adds two big new tricks:

Image Embedding arbitrary UIElements among text

Image Letting text overflow into separate elements, which enables multicolumn text or other custom text layouts

Except for these two features, TextBlock and RichTextBlock are almost identical. They expose the same methods, properties, and events, although RichTextBlock happens to have an extra

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required