I am writing a text editor and had planned on using the richtextbox control however, the richtextbox's performance is abysmal. On even small documents the wpf richtextbox lags if you hold a key down. I do not need all of the features of the wpf richtextbox, but I do need rtf support. How can I implement this?
views:
179answers:
2
+2
A:
If you need RTF support, you're best off just using RichTextBox. RichTextBox's slower performance mainly comes from supporting RTF, which is not trivial.
Reed Copsey
2010-04-01 21:27:35
My project was originally built using winforms and the winforms richtextbox did not have any performance problems. What happened with wpf?
Justin
2010-04-01 21:40:59
+1
A:
The wpf richtextbox understand FlowDocuments Winforms richtextbox not.
Maybe this helps you in general using wpf`s richtextbox:
http://www.codeproject.com/KB/WPF/BindableWPFRichTextBox.aspx
http://michaelsync.net/2009/06/09/bindable-wpf-richtext-editor-with-xamlhtml-convertor
msfanboy
2010-04-02 09:21:50