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.

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)
Please sign in to leave a comment
Access denied
Access denied