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.
Unfortunately, activation email could not send to your email. Please try again.

how to add append text in richtextbox at current position

Thread ID:





106526 Jan 11,2013 05:22 AM Aug 1,2016 09:28 AM WPF 3
Tags: RichTextBoxAdv
Asked On January 11, 2013 05:22 AM

I am using WPF Richtextbox where user can add some text at runtime at specific position with some formatted text. how i can do this?

Gunasekaran T [Syncfusion]
Replied On January 17, 2013 05:11 AM

Hi Ehsan,

Thank you for your interest in Syncfusion products.

1. Add formatted text to WPF RichTextBoxAdv in UI:
We can directly add text to WPF RichTextBoxAdv control in UI, by placing the cursor at corresponding position and enter text. To format, select the inserted text and apply required formatting. For further reference regarding the WPF RichTextBoxAdv control, please do refer UG documentation from below link:

2. Add formatted text to WPF RichTextBoxAdv in code behind:
We have prepared the sample to add formatted text at cursor position in WPF RichTextBoxAdv control. Please try running the attached sample and let us know if this helps you.

Please let us know if you have any other questions.



Replied On July 28, 2016 09:35 AM

Hi Gunasekaran T,
I would like to see your example but .zip is not available, could you please repost it?

Venkatesan Mani [Syncfusion]
Replied On August 1, 2016 09:28 AM

Hi Adrian,

We have reposted the sample again. Please find the sample from the following link.

Sample Link:



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.

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.