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