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 ...
Get Windows® Phone 8 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.