Articles in this section
Category / Section

How to customize the colors used for bracket highlighting and indentation guidelines in WinForms SyntaxEditor (EditControl)?

Customize indent appearance

You could specify custom Colors for the indentation guidelines and the bracket highlighting block using the IndentLineColor and IndentBlockHighlightingColor properties respectively.

C#

this.editControl1.IndentLineColor = Color.Khaki;
this.editControl1.IndentBlockHighlightingColor = Color.IndianRed;

 

VB

Me.editControl1.IndentLineColor = Color.Khaki
Me.editControl1.IndentBlockHighlightingColor = Color.IndianRed

 

Reference link: https://help.syncfusion.com/windowsforms/syntaxeditor/editing#customize-indent-appearance

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