RichTextbox MaxLength too small
问题 I need to open a text file with ~4MB in a RichTextBox, but the end of the text was "trimmed". How do I override a RichTextBox.MaxLength Int32 limit? 回答1: I'm not sure how much text RichTextBox can handle, but I believe MaxLength only applies to text the user enters. If you set .Text directly it should be able to go past MaxLength, unless MaxLength is already at the maximum. 回答2: The default for RichTextBox.MaxLength is 2GB, so with a 4MB file this is not going to be your problem. 回答3: Besides