Set background color of text area

SyntaxEditor for Windows Forms Forum

Posted 10 years ago by KC
Version: 4.0.0281
Avatar
I'm sure this is something easy i am missing. But, I just want to set the background color of a readonly editor. I set the document to readonly and it is readonly, but, I can't find the property to set the background color. I looked at the Renderer.TextAreaBackColor... but it is a readonly proprty.

How do I set the background color... in code at runtime?

Comments (1)

Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
You can cast the renderer to a VisualStudio2005SyntaxEditorRenderer and you should be able to set that property.


Actipro Software Support

The latest build of this product (v2018.1 build 0341) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.