Articles in this section

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

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)
Access denied
Access denied