开发者

C# RichTextBox lag

开发者 https://www.devze.com 2023-03-10 18:17 出处:网络
I have a richtextbox control on a WPF form. It has SpellChecking.IsEnabledis set to true and VerticalScrollBarVisibility is set to auto, but whenever I type in it it there is a delay before the text a

I have a richtextbox control on a WPF form. It has SpellChecking.IsEnabled is set to true and VerticalScrollBarVisibility is set to auto, but whenever I type in it it there is a delay before the text appears.

Setting SpellChecking.IsEnabled to fa开发者_运维技巧lse or VerticalScrollBarVisibility to disabled does not stop the lag.

Can anyone suggest a reason why this lag may be occuring, and a possible solution?


Can you give details on your Operating System, hardware, graphic board, or any other thing that maybe related to your performance?

You should turn off unneeded services, anti-virus, and use StopWatch to see what is going on.

0

精彩评论

暂无评论...
验证码 换一张
取 消