Articles in this section

How to add multiple lines of text to the WinForms SyntaxEditor (EditControl)?

Insert multiple lines

The Lines property in EditControl lets you specify multiple lines of text to the EditControl in the form of a string array. This feature is similar to the one in .NET RichTextBox control.

C#

this.editControl1.Lines = new string[] {"first line", "second line", "third line"};

 

VB

Me.editControl1.Lines = New String() {"first line", "second line", "third line"}

 

Reference link: https://help.syncfusion.com/windowsforms/syntaxeditor/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)
Access denied
Access denied