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

RichTextBox Metro Theme

1 Answer 110 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
EmpowerIT
Top achievements
Rank 2
EmpowerIT asked on 27 Jul 2011, 05:47 AM
Hi Guys,

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

Regards,
Tarek

1 Answer, 1 is accepted

Sort by
0
Iva Toteva
Telerik team
answered on 28 Jul 2011, 03:00 PM
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() { };
    InitializeComponent();
}

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

Greetings,
Iva
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!

Tags
RichTextBox
Asked by
EmpowerIT
Top achievements
Rank 2
Answers by
Iva Toteva
Telerik team
Share this question
or