Hi Steve,
Thanks for contacting Syncfusion support.
We have analyzed the query “When the text with new row is added , text is displayed on first line only in EditControl”. The required query can be achieved by assigning “\r” to SplitLinesRegex property in EditControl current langauges. This property creates the new line and adds the texts as show in below screenshot. Please refer the below code snippet for the same.
C#:
private void editControl1_Loaded_1(object sender, RoutedEventArgs e)
{
this.editControl1.CurrentLanguage.SplitLinesRegex = "\r";
this.editControl1.Text = "Text \r TextT2 \r TextT3";
} |
Screenshot:
Regards,
Niranjan Kumar