Posted 10 September 2017, 12:41 pm EST
I’m currently evaluating ComponentOne Studio for Silverlight, mainly in hopes of using the C1RichTextBox. My first test was to paste a large (about 4,500 lines) plaintext file into the control. After 5 minutes (and several tries), I’ve given up waiting for the paste to complete. This is a bare control with no events yet registered to it.
By contrast, the default SilverLight RichTextBox takes under 2 seconds to complete this operation.
Is this the expected behavior?
Breaking in in the debugger after the paste does indeed show that it’s always deep into C1.Silverlight.RichTextBox.5!C1.Silverlight.RichTextBox.Documents working with either a C1TextElement or C1TextPointer.
I’m looking for a control to work on large documents. Is there any workaround for this? My next step was to see how responsive the control was when editing the large file, but I can’t get the large file in to begin with (I’ll look into the file load methods, but a large paste is still something we expect to do often).