DocumentInheritsDefaultStyleSettings disables the use of bold/italics in the ribbon

2 posts, 0 answers
  1. papadi
    papadi avatar
    35 posts
    Member since:
    Nov 2008

    Posted 27 Sep 2012 Link to this post

    I have a richtextbox on which I set DocumentInheritsDefaultStyleSettings ="true" so that the font of the text is uniform with the rest of my application, unless the users changes it using the editor.
    However I see that the bold and italics functionality (using ribbon) do not work when this flag is set to true.
    Why is that? How can I fix this?
    Underline, changing font family or size work fine.
  2. Iva Toteva
    Iva Toteva avatar
    1319 posts

    Posted 01 Oct 2012 Link to this post

    Hi papadi,

    We were not able to reproduce the issue you describe in your post. 

    As you can read here, the DocumentInheritsDefaultStyleSettings is a way to set default values for the font family, font size, font style and font weight. However, changing the values from the UI should also work.

    If the issue persists, please prepare a sample project illustrating the issue and attach it to a support ticket, so that we can look into the causes of the incorrect behavior.

    Iva Toteva
    the Telerik team

    Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

Back to Top