media media - 1 month ago 5
C# Question

How can I have ruler for a `RadRichTextBox`

I have the following code in

xaml



<telerik:RadRichTextBox x:Name="radRichTextBox" IsSelectionMiniToolBarEnabled="False" IsSpellCheckingEnabled="False" IsContextMenuEnabled="False" LayoutMode="Paged" Margin="10,192,10,10"/>




How can I add ruler for a
RadRichTextBox
in telerik?

Answer
<telerik:DocumentRuler DockPanel.Dock="Right" Margin="10">
                           <telerik:RadRichTextBox x:Name="radRichTextBox" IsSelectionMiniToolBarEnabled="False" IsSpellCheckingEnabled="False" IsContextMenuEnabled="False" LayoutMode="Paged" />
                       </telerik:DocumentRuler>