We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Insert Text with line break

Thread ID:





123793 Apr 21,2016 03:34 PM UTC Apr 22,2016 09:44 AM UTC WPF 1
Tags: SfRichTextBoxAdv
Atlante Dev Team
Asked On April 21, 2016 03:34 PM UTC


I wanted to be able to insert some text in my SfRichTextBox using the Selection.Insert() method.

If I insert a simple plan text, it works well.

But I am looking to insert text that contains some Environment.NewLine. If I do that, a text with the line break is inserted, but on only one line in the SfRichTextBox. The behavior is very strange. 

Is there a way to insert text with line break ?

A little animation that shows the behavior : Animation

And I join my sample project.



Attachment: TestSfRichTextBox_e6aa8ba9.7z

Venkatesan Mani [Syncfusion]
Replied On April 22, 2016 09:44 AM UTC

Hi Marvin,

Thank you for contacting Syncfusion Support.

Currently, our SfRichTextBoxAdv control does not support the line break characters. We have planned to implement this line break support in SfRichTextBoxAdv in our Essential Studio Volume 1, 2016 Service Pack 2 release which is expected to be available by end of May. The date for the feature implementation is tentative and not a commitment on our parts. We request you to check our website periodically for feature related updates.

Venkatesan M.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon