Posted 12 years ago by Jean Versailles
Version: 4.0.0262
Avatar
How do you set the Forground and background for the hole document.
i can't find the forground color property for the document.

[Modified at 11/08/2007 11:41 AM]

Comments (3)

Posted 12 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Everything in SyntaxEditor is based on the styles defined in the language. You can update your language's "DefaultStyle" foreground to set the default color for the language.


Actipro Software Support

Posted 12 years ago by Jean Versailles
Avatar
<Style Key="DefaultStyle" ForeColor="Black" BackColor="Gray" Bold="False" Italic="False" Underline="False" />
this change the text on the control which is good, but i also need to change the background of the controls it self.
Posted 12 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Any non-text UI can be changed via the renderer that is currently in use. You can access the default VisualStudio2005SyntaxEditorRenderer from the SyntaxEditor.RendererResolved property and change properties there to customize the look of the control.


Actipro Software Support

The latest build of this product (v2020.1 build 0400) was released 1 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.