Hi,
i have a Problem with the Bullet List.
How can I set the default row height and the default line spacing from the BulletList in my richtextbox?
my XAML-Code Looks like this:
<telerik:HtmlDataProvider Name="DataProvider" RichTextBox="{Binding ElementName=radRichTextBox1}" Html="{Binding Antworttext, Mode=TwoWay}">
<telerik:HtmlDataProvider.FormatProvider>
<telerik:HtmlFormatProvider>
<telerik:HtmlFormatProvider.ImportSettings>
<telerik:HtmlImportSettings UseDefaultStylesheetForFontProperties="True" />
</telerik:HtmlFormatProvider.ImportSettings>
</telerik:HtmlFormatProvider>
</telerik:HtmlDataProvider.FormatProvider>
</telerik:HtmlDataProvider>
<telerik:RadRichTextBox Grid.Column="0" Grid.ColumnSpan="2" Grid.Row="5" x:Name="radRichTextBox1" IsReadOnly="true" BorderThickness="0" DocumentChanged="radRichTextBox1_DocumentChanged"
HorizontalScrollBarVisibility="Hidden" HorizontalAlignment="Stretch" IsContextMenuEnabled="true" FontFamily="Arial" FontSize="{DynamicResource FontSizeAnswers_rightColumn}" FontStyle="Normal" FontWeight="Normal" DocumentInheritsDefaultStyleSettings="True"
IsFocusable="False" IsHitTestVisible="False" IsImageMiniToolBarEnabled="False" IsSelectionEnabled="true" IsSelectionMiniToolBarEnabled="false"
IsSpellCheckingEnabled="False" >
<telerik:RadRichTextBox.Resources>
<Style TargetType="{x:Type Paragraph}">
<Setter Property="Padding" Value="0"/>
<Setter Property="LineHeight" Value="200"/>
<Setter Property="Background" Value="Red"/>
</Style>
</telerik:RadRichTextBox.Resources>
</telerik:RadRichTextBox>
Thank you
i have a Problem with the Bullet List.
How can I set the default row height and the default line spacing from the BulletList in my richtextbox?
my XAML-Code Looks like this:
<telerik:HtmlDataProvider Name="DataProvider" RichTextBox="{Binding ElementName=radRichTextBox1}" Html="{Binding Antworttext, Mode=TwoWay}">
<telerik:HtmlDataProvider.FormatProvider>
<telerik:HtmlFormatProvider>
<telerik:HtmlFormatProvider.ImportSettings>
<telerik:HtmlImportSettings UseDefaultStylesheetForFontProperties="True" />
</telerik:HtmlFormatProvider.ImportSettings>
</telerik:HtmlFormatProvider>
</telerik:HtmlDataProvider.FormatProvider>
</telerik:HtmlDataProvider>
<telerik:RadRichTextBox Grid.Column="0" Grid.ColumnSpan="2" Grid.Row="5" x:Name="radRichTextBox1" IsReadOnly="true" BorderThickness="0" DocumentChanged="radRichTextBox1_DocumentChanged"
HorizontalScrollBarVisibility="Hidden" HorizontalAlignment="Stretch" IsContextMenuEnabled="true" FontFamily="Arial" FontSize="{DynamicResource FontSizeAnswers_rightColumn}" FontStyle="Normal" FontWeight="Normal" DocumentInheritsDefaultStyleSettings="True"
IsFocusable="False" IsHitTestVisible="False" IsImageMiniToolBarEnabled="False" IsSelectionEnabled="true" IsSelectionMiniToolBarEnabled="false"
IsSpellCheckingEnabled="False" >
<telerik:RadRichTextBox.Resources>
<Style TargetType="{x:Type Paragraph}">
<Setter Property="Padding" Value="0"/>
<Setter Property="LineHeight" Value="200"/>
<Setter Property="Background" Value="Red"/>
</Style>
</telerik:RadRichTextBox.Resources>
</telerik:RadRichTextBox>
Thank you