This is a migrated thread and some comments may be shown as answers.

RadDocument Custom Ruler

1 Answer 85 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Minh
Top achievements
Rank 1
Minh asked on 30 Mar 2016, 07:38 PM
Hi, simple question, may I ask how do I change the ruler of a document. 
 

1 Answer, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 04 Apr 2016, 07:30 AM
Hi Minh,

If you want to change the appearance of the DocumentRuler control, you could change its style. The default is 'DocumentRulerBaseStyle'. More information about how to create custom style basing on an existing one and how to apply a theme using implicit styles, you could read in this help article.

If you desire to change the behavior of the ruler, you could create a controller by implementing the IDocumentRulerController interface and setting that controller on the DocumentRuler through its Controller dependency property.

I hope this helps.

Regards,
Todor
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
RichTextBox
Asked by
Minh
Top achievements
Rank 1
Answers by
Todor
Telerik team
Share this question
or