Following are the feature of rich text box control
- Rich content - multimedia
- Inline images
- Formatted text
- Hyperlinks
Rich text box offer two modes
- Editing mode which is by default.
-
Read only mode which can be set by using IsReadOnly="True"

Note: The hyperlinks will work only if IsReadOnly property is set to
true.
Main Page
Following image shows how the page looks with rich text box.

To set the content of RichTextBox control you can use Paragraph element as shown
below

Hyperlink
To show the hyperlink you can use the Hyperlink element. The hyperlink will
navigate only if the rich text box is in read only mode i.e. isReadOnly=True
![]()
UIElement
To show the text with the inline UIElement object like image as shown below

Left Alignment
To change the alignment to left or start typing from left, then select the text
and click on the left button. As shown below

For this use the following code:

Center Alignment
To change the alignment to center or start typing from center, then select the
text and click on the center button. As shown below.

For this use the following code:















naresh pPosted Jan 25, 2011, 5:50 AM
Hi, i working on silverlgith control. at present im working HTML Editor using silverlight, Here im adding images to richtextbox dyanmically. after addingimages i need to move image inside richtextbox. im using VS2010 and Silverlight4 Please help me out in this. Regards, Naresh
naresh pPosted Jan 20, 2011, 3:02 AM
how to move image inside richtextbox