How do you prevent a RichTextBox from refreshing its display?

前端 未结 6 1287
再見小時候
再見小時候 2020-11-30 09:10

I have a RichTextBox where I need to update the Text property frequently, but when I do so the RichTextBox \"blinks\" annoyingly as it refreshes all throughout a method call

6条回答
  •  萌比男神i
    2020-11-30 09:55

    Could you just store the Text into a string, do your manipulations on the string, and at the end of the method, store it back into the Text property?

提交回复
热议问题