RadDocument Custom Ruler

2 posts, 0 answers
  1. Minh
    Minh avatar
    43 posts
    Member since:
    May 2014

    Posted 30 Mar 2016 Link to this post

    Hi, simple question, may I ask how do I change the ruler of a document. 
  2. Todor
    Todor avatar
    168 posts

    Posted 04 Apr 2016 Link to this post

    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.

    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Back to Top