I have created a RichTextBox called SharpTextBox which indicates and limits the number of characters that can be typed in it. The implementation is shown in the following link:
Anyway when I start typing in the TextBox it goes from 3% to 78%. The TextBox updates the Label control which shows the number of characters remaining for the count.
How can I increase the performance of the textbox?
UPDATE:
I read there seems to be some problem with the TextRange.Text property which kills performance.