Setting the background colour of the document...

SyntaxEditor for Windows Forms Forum

Posted 17 years ago by Jason Sobell
Version: 4.0.0257
Avatar
How do we set the background colour of the document? We're using the control as an ultra-powerful textbox but want to change the background colour to reflect status.

Cheers,
Jason

Comments (2)

Posted 17 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
The renderer lets you configure how any part of the editor draws. If you want to configure this for a single control instance then you would need to create a VisualStudio2005SyntaxEditorRenderer and assign it to the SyntaxEditor.Renderer property. In that class you would set the TextAreaBackgroundFill to a SolidColorBackgroundFill of whatever color you want.


Actipro Software Support

Posted 17 years ago by Jason Sobell
Avatar
Brilliant, this did the job nicely.

Thanks,
Jason
The latest build of this product (v24.1.0) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.