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

How to use WPF RichTextBoxAdv control in Windows Forms application?

Platform: WPF |
Control: RichTextBoxAdv |
Published Date: November 16, 2014 |
Last Revised Date: December 18, 2015 |
.NET Framework: 3.5

The RichTextBoxAdv control allows you to view, edit, and print rich text contents, and also import and export the Html, Xaml, Text files and Word documents (".doc", ".docx"). If you need to add rich user experience as like Windows Presentation Foundation (WPF) to your existing application is in Windows Forms, then it is more effective to embed one or more feature rich WPF controls to your existing Windows Forms application. You can host the Syncfusion WPF RichTextBoxAdv control to your existing Windows Forms application using ElementHost in Windows Forms.

 

The below sample demonstrates how to host Syncfusion WPF RichTextBoxAdv control in Windows Forms application.

Sample.zip

 

Please do refer the below MSDN reference link for more information about hosting a WPF control in Windows Forms application.

http://msdn.microsoft.com/en-us/library/ms742215(v=vs.110).aspx

2X faster development

The ultimate WPF UI toolkit to boost your development speed.
ADD COMMENT
You must log in to leave a comment
Comments
inscan
Apr 12, 2017
jinscna  Reply
Arjay Mendoza
Apr 21, 2017
do you have sample of this with save and open document? Reply
Arumuga Perumal S [Syncfusion]
Apr 24, 2017

Hi Arjay,

Please find the sample using RichTextBoxAdv control in Windows Forms application with options to open, save documents from following link.

Sample Link:
Sample.zip

Regards,
Arumuga Perumal S.

Reply
Ola Mallaug
Apr 11, 2018
This is almost working. I'm using the first sample file, but I'm not able to change the font. Any suggestions?

Reply
Venkatesan Mani [Syncfusion]
Apr 12, 2018

Hi Ola Mallaug,


We kindly recommend you to use the new SfRichTextBoxAdv control. Since, the RichTextBoxAdv control is classic version. Whereas SfRichTextBoxAdv is a new control that works more similar to Microsoft Word, and all the new enhancements are done only in this control. So please prefer using SfRichTextBoxAdv control with all the new features.

For more information, please refer the UG documentation of SfRichTextBoxAdv from the following link,
UG: https://help.syncfusion.com/wpf/sfrichtextboxadv/getting-started

To Use SfRichTextBoxAdv control in Windows Forms application, kindly refer the following KB link, https://www.syncfusion.com/kb/5909/how-to-use-wpf-sfrichtextboxadv-control-in-windows-forms-application  
https://www.syncfusion.com/kb/wpf/sfrichtextboxadv

Regards,
Venkatesan M.

Please sign in to access our KB

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

Up arrow icon

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