質問

RichTextBox lags really hard (at least under Windows7 64 bit)- I found several topics on many programming boards, describing this exact problem, but no solution. There's even a bug report on this issue for the WPF team. Some people suggested that setting SpellCheck.IsEnabled to false may help, but in my case it didn't... So - are there any good alternatives for the RichTextBox control? I need to be able to highlight specific words in large amounts of text and do this dynamically (during user typing, changing text).

役に立ちましたか?

解決

You can try AvalonEdit (http://avalonedit.net). Although it only supports text, it may be what you are looking for.

I have tried it and it is blazingly fast compared to the built-in WPF rich text box.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top