Articles in this section
Category / Section

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

1 min read

Customize indent appearance

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


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



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


Reference link:

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