I am attempting to use the RadRichTextBox control in read-only mode to display the content of a file (either a MS Word document or HTML). When the documens are displayed in the RadRichTextBox, the content is double-spaced, even though the source documents are single-spaced.
This is the content of my silverlight user control. I have code in the code-behind page that sets the Document property with either an HTML or MS-Word document.
This is the content of my silverlight user control. I have code in the code-behind page that sets the Document property with either an HTML or MS-Word document.
<
UserControl
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
x:Class
=
"NCS.IS.ActionItemsUserControls.RichTextDisplay"
mc:Ignorable
=
"d"
d:DesignHeight
=
"500"
d:DesignWidth
=
"1000"
>
<
Grid
x:Name
=
"LayoutRoot"
Background
=
"White"
>
<
telerik:RadRichTextBox
x:Name
=
"radRichTextBox"
HorizontalAlignment
=
"Left"
VerticalAlignment
=
"Top"
IsSelectionMiniToolBarEnabled
=
"False"
IsReadOnly
=
"True"
IsEnabled
=
"True"
IsSpellCheckingEnabled
=
"False"
IsContextMenuEnabled
=
"False"
HyperlinkNavigationMode
=
"Click"
Margin
=
"0,0,0,0"
BorderThickness
=
"0,0,0,0"
LayoutMode
=
"Paged"
FontFamily
=
"Arial"
/>
</
Grid
>
</
UserControl
>