Articles in this section
Category / Section

How to find out the total line count in the WinForms SyntaxEditor (Editcontrol)?

1 min read

Line count

The SyntaxEditor (EditControl) has the built-in functionality to find the total number of lines. Please refer to the code snippets and the sample attached to know more about it.

C#

this.editControl.PhysicalLineCount;

 

VB

Me.editControl.PhysicalLineCount

 

Reference link: https://help.syncfusion.com/windowsforms/syntax-editor/editing#total-number-of-lines

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