This question is locked. New answers and comments are not allowed.
Hi,
I am using Telerik 2012 Q1 version for my silverlight radrichtextbox.
The following is my xaml code
<telerik:RadRichTextBox Name="RichTextBoxNotificationText" Grid.ColumnSpan="4" Grid.Row="19" Margin="5,2,5,0" VerticalAlignment="Stretch" IsSpellCheckingEnabled="True"
IsImageMiniToolBarEnabled="False" ScrollViewer.VerticalScrollBarVisibility="Visible" IsSelectionMiniToolBarEnabled="False"
DocumentInheritsDefaultStyleSettings="True" LayoutMode="Flow" VerticalScrollBarVisibility="Visible" TabIndex="{Binding DdlNotificationToFilerTextTabIndex}" telerikHtml:HtmlDataProvider.Source="{Binding NotificationText}"
FontFamily="{StaticResource FontFamily}" FontSize="{StaticResource StandardFontSize}" FontStyle="{StaticResource FontStyle_Normal}"
Foreground="{StaticResource ForeGround}">
<telerik:RadDocument LineSpacing="1" ParagraphDefaultSpacingAfter="0" ParagraphDefaultSpacingBefore="0" LineSpacingType="AtLeast" />
</telerik:RadRichTextBox>
In ViewModel:
If i assign:
NotificationText = "New Value";
It is not taking default font properties as assigned above.
Please let me know how to remove the Telerik inbuilt styles and only take the styles which i am assiging using through static resource.
I am using Telerik 2012 Q1 version for my silverlight radrichtextbox.
The following is my xaml code
<telerik:RadRichTextBox Name="RichTextBoxNotificationText" Grid.ColumnSpan="4" Grid.Row="19" Margin="5,2,5,0" VerticalAlignment="Stretch" IsSpellCheckingEnabled="True"
IsImageMiniToolBarEnabled="False" ScrollViewer.VerticalScrollBarVisibility="Visible" IsSelectionMiniToolBarEnabled="False"
DocumentInheritsDefaultStyleSettings="True" LayoutMode="Flow" VerticalScrollBarVisibility="Visible" TabIndex="{Binding DdlNotificationToFilerTextTabIndex}" telerikHtml:HtmlDataProvider.Source="{Binding NotificationText}"
FontFamily="{StaticResource FontFamily}" FontSize="{StaticResource StandardFontSize}" FontStyle="{StaticResource FontStyle_Normal}"
Foreground="{StaticResource ForeGround}">
<telerik:RadDocument LineSpacing="1" ParagraphDefaultSpacingAfter="0" ParagraphDefaultSpacingBefore="0" LineSpacingType="AtLeast" />
</telerik:RadRichTextBox>
In ViewModel:
If i assign:
NotificationText = "New Value";
It is not taking default font properties as assigned above.
Please let me know how to remove the Telerik inbuilt styles and only take the styles which i am assiging using through static resource.