DocumentRuler visibility Visible and Collapse & change ruler in centimetre to inches and vice versa ?

4 posts, 0 answers
  1. Sopan
    Sopan avatar
    34 posts
    Member since:
    May 2012

    Posted 25 Jul 2013 Link to this post


    Hi,

    How to change the visibility of DocumentRuler in RadRichTextBox. and How to change ruler in different scale like inches, centimetre ?


    Regards

    Sopan Vaidya
  2. Iva Toteva
    Admin
    Iva Toteva avatar
    1319 posts

    Posted 29 Jul 2013 Link to this post

    Hello Sopan,

    You can toggle the visibility of DocumentRuler using the Visibility property that the control inherits from UIElement.

    As for the measurement unit that the ruler uses, it can be set through the dependency property MeasurementUnit, which accepts values from the enumeration UnitTypes.

    I hope this helps.

    Regards,
    Iva Toteva
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. UI for WPF is Visual Studio 2017 Ready
  4. Sopan
    Sopan avatar
    34 posts
    Member since:
    May 2012

    Posted 29 Jul 2013 Link to this post

    hi Iva,

    Any built in command to set the visibility ?

    Regards
    Sopan
  5. Iva Toteva
    Admin
    Iva Toteva avatar
    1319 posts

    Posted 31 Jul 2013 Link to this post

    Hi Sopan,

    No, there isn't a built-in command that changes the visibility of the ruler.

    Regards,
    Iva Toteva
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top