Background Color

3 posts, 1 answers
  1. Markus
    Markus avatar
    4 posts
    Member since:
    Sep 2012

    Posted 04 Dec 2012 Link to this post

    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. Answer
    Plamen
    Admin
    Plamen avatar
    132 posts

    Posted 06 Dec 2012 Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Markus
    Markus avatar
    4 posts
    Member since:
    Sep 2012

    Posted 07 Dec 2012 Link to this post

    Thank you very much, works very well :)
Back to Top