Replacement for SyntaxEditor.BackColor?

SyntaxEditor for Windows Forms Forum

Posted 18 years ago by Adam Dickinson
Version: 4.0.0234
Avatar
In SyntaxEditor 3.1, I was able to set the entire document's background color with the SyntaxEditor.BackColor property. That no longer functions in version 4.0. That is, the property can be set, but the appearance does not change. I can't find anything about it in the documentation, so please, how does one accomplish this task now?

Thanks in advance.

Comments (1)

Posted 18 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Adam,

Yes in v4.0 we use a renderer model that lets you completely customize how the control is rendered. You can access it via the SyntaxEditor.RendererResolved property. The default renderer in use is a VisualStudio2005SyntaxEditorRenderer. That should have various BackgroundFill properties on it like TextAreaBackgroundFill that let you customize the background. You can use a SolidColorBackgroundFill to make it whatever color you want.


Actipro Software Support

The latest build of this product (v24.1.0) 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.