Articles in this section
Category / Section

How to selectively hide or show white space indicators in WinForms SyntaxEditor (EditControl)?

1 min read

Hide or show space indicators

You could selectively show or hide the white space indicators using the following sub properties - ShowSpaces, ShowTabs and ShowNewLines in WhiteSpaceIndicators property as shown in code below.

C#

this.editControl1.WhiteSpaceIndicators.ShowSpaces = true;
this.editControl1.WhiteSpaceIndicators.ShowTabs = true;
this.editControl1.WhiteSpaceIndicators.ShowNewLines = true;

 

VB

Me.editControl1.WhiteSpaceIndicators.ShowSpaces = True
Me.editControl1.WhiteSpaceIndicators.ShowTabs = True
Me.editControl1.WhiteSpaceIndicators.ShowNewLines = True

 

Note:

The ShowWhiteSpaces property needs to be set to true initially before you can hide or show individual white space indicators.

 

Reference link: https://help.syncfusion.com/windowsforms/syntaxeditor/editing#space-indicators

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