Hello,
I am trying to create a email message viewer like Outlook using the RichTextbox.
Is this the right control to use for this scenario?
The viewer should be able to display plain-text emails and HTML emails.
I implemented it partially but I cant get the scrollbar visiblewhen the message is longer then what can be contained in the richtextbox.
<
ContentControl
Grid.Row
=
"6"
Grid.Column
=
"0"
Grid.ColumnSpan
=
"3"
>
<
Grid
>
<
telerikHtml:HtmlDataProvider
Html
=
"{Binding BodyText, Mode=TwoWay}"
RichTextBox
=
"{Binding ElementName=rtbHtmlEmail}"
x:Name
=
"htmlDataProvider"
/>
<
ScrollViewer
HorizontalScrollBarVisibility
=
"Auto"
VerticalScrollBarVisibility
=
"Auto"
>
<
telerik:RadRichTextBox
x:Name
=
"rtbHtmlEmail"
Padding
=
"15"
MinWidth
=
"800"
MinHeight
=
"650"
HorizontalAlignment
=
"Stretch"
VerticalAlignment
=
"Stretch"
HorizontalContentAlignment
=
"Left"
VerticalContentAlignment
=
"Top"
IsReadOnly
=
"True"
LayoutMode
=
"Flow"
/>
</
ScrollViewer
>
</
Grid
>
</
ContentControl
>