Possible Duplicate:
RichTextBox (WPF) does not have string property “Text”
This is ridiculous, my RichTextBox has no document or paragraph property. How am I supposed to add text to it via C#?
<ScrollViewer Margin="16,56,16,16">
<RichTextBox x:Name="PREVIEWTEMP"
HorizontalContentAlignment="Stretch"
VerticalContentAlignment="Top"
Padding="0,6,0,0"
Height="528"
Width="400"
IsReadOnly="True">
<Paragraph>
<Run Text="RichTextBox" />
</Paragraph>
</RichTextBox>
</ScrollViewer>
Does anyone know how to do this?