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

Background Color

2 Answers 136 Views
RichTextBox (obsolete as of Q3 2014 SP1)
This is a migrated thread and some comments may be shown as answers.
Markus
Top achievements
Rank 1
Markus asked on 04 Dec 2012, 09:28 AM
Hello,

how can I change the background color of a radRichTextBox? I tried to change the BackColor in the Properties section but this didn't affect the result. In Addition I tried to implement it to the code like this: 

this.RichTextBox1.RichTextBoxElement.BackColor = System.Drawing.Color.Gray;

2 Answers, 1 is accepted

Sort by
0
Accepted
Plamen
Telerik team
answered on 06 Dec 2012, 04:07 PM
Hello Markus,

Thank you for writing.

To change the BackColor of the page, please consider the following code:
this.radRichTextBox1.RichTextBoxElement.PageBackground = System.Drawing.Color.Gray;

I hope this will help. Please let me know if I can assist you further.

Regards,
Plamen
the Telerik team
Q3’12 of RadControls for WinForms is available for download (see what's new). Get it today.
0
Markus
Top achievements
Rank 1
answered on 07 Dec 2012, 07:14 AM
Thank you very much, works very well :)
Tags
RichTextBox (obsolete as of Q3 2014 SP1)
Asked by
Markus
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Markus
Top achievements
Rank 1
Share this question
or