O'Reilly logo

Windows® Phone 8 Unleashed by Daniel Vaughan

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

Displaying Rich Content Using a RichTextBox

RichTextBox is a control that enables you to intermingle rich content, including hyperlinks and inline images, with text. UIElements can also be embedded alongside other content, allowing you to display buttons and other interactive controls directly within the RichTextBox content.

Unlike Silverlight for the Browser, however, the RichTextBox control for Windows Phone is not editable. Its IsReadOnly property is always true and cannot be set to false.

Note

If you attempt to set IsReadOnly to true in XAML a XamlParseException is raised; when done in code, a NotSupportedException is raised.

RichTextBox contains a collection of Paragraph elements. Within a Paragraph object are placed text and various ...

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