RichTextBox Metro Theme

2 posts, 0 answers
  1. EmpowerIT
    EmpowerIT avatar
    117 posts
    Member since:
    Jun 2007

    Posted 27 Jul 2011 Link to this post

    Hi Guys,

    What is required to enable the Metro theme on the RichTextBox and the RichTextBoxUI?

  2. Iva Toteva
    Iva Toteva avatar
    1319 posts

    Posted 28 Jul 2011 Link to this post

    Hi Tarek,

    Using the Metro them on RadRichTextBox can be done the same way as with any other theme. In addition to the assembly references that RadRichTextBox uses, you need to add a reference to the theme - in your case that would be Telerik.Windows.Themes.Metro. Then, if you set the theme in the constructor of the control containing the rich text box in the following way:

    public MainPage()
        StyleManager.ApplicationTheme = new MetroTheme() { };

    it will be properly applied to the RibbonUI and all pop-ups of RadRichTextBox.

    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Back to Top