Articles in this section
Category / Section

How to set custom background to the outlining block delimiters in WinForms SyntaxEditor (EditControl)?

1 min read

Background setting

You could do so by setting the appropriate value to BackColor field in the format definition in the configuration file as shown below.

Xml

<format name="PreprocessorKeyword" Font="Courier New, 10pt" BackColor="Orange" FontColor="Gray" />
<format name="HiddenRegionSpecifier" Font="Courier New, 10pt" BackColor="LightSkyBlue" FontColor="Gray" />
<format name="ReadOnlyRegionSpecifier" Font="Courier New, 10pt" BackColor="Yellow" FontColor="Gray" />
<format name="CollapsedText" Font="Courier New, 10pt" FontColor="Black" BackColor="Aqua" BorderColor="Gray" BorderStyle = "Solid"/>

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied