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

Style the RichTextBox popups

3 Answers 101 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Chad
Top achievements
Rank 1
Chad asked on 21 Sep 2011, 05:41 PM
How do I style the RichTextBox popups?  I set the theme on the RichTextBox to be Windows7, but the Find/Replace dialog buttons are not Windows7 themed.

Also, can I control where the popup dialogs appear?  They cover the text that I want the user to see.

Thanks!

3 Answers, 1 is accepted

Sort by
0
Accepted
Iva Toteva
Telerik team
answered on 27 Sep 2011, 12:57 PM
Hello Chad,

The UI that RadRichTextBox uses does not inherit the theme from the rich text box. However, if you set the application theme in the constructor of the window that the control is, it will be properly set on the dialogs:

public MainWindow()
{
    StyleManager.ApplicationTheme = new Windows7Theme();
    InitializeComponent();
}

In this way, the theme will be applied to all controls on the page, RadRichTextBoxRibbonUI, RadRichTextBox, DocumentRuler and the StatusBar.

I hope this helps.

All the best,
Iva
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Chad
Top achievements
Rank 1
answered on 27 Sep 2011, 01:50 PM
That is very helpful, thank you.

Is it possible to adjust where it appears initially?

Thanks!
0
Iva Toteva
Telerik team
answered on 30 Sep 2011, 04:30 PM
Hi Chad,

We will see what can be done, so that the dialogs inherit the theme from RadRichTextBox by default.
However, as there is another solution (setting the theme to the whole Application), the issue may not be included in the upcoming Q3 release.

Greetings,
Iva
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

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