G
Guest
I have a custom control that displays thousands of items. Each item is NOT a System.Windows.Control; each item is instead a simple light weight class with properties (such as .Text, .ImageIndex, etc.) used by the custom control to draw each item (i.e. the custom control draws all the items)
Here's my problem: I would like each item to display rich text. While we could write a custom RTF parser, that is a huge undertaking we'd not like to start. We cannot use the RichTextBox provided with the FCL since it is a standard System.Windows.Control which is not at all lightweight (thousands of items == thousands of RichTextBoxes, translates to bad performance plus lots of limitations related to standard WinForm Controls)
So I guess I'm looking for a way to display items containing Rich Text, thousands of items, all on a single GDI+ surface, without utilizing thousands of RichTextBox controls. Any suggestions?
Here's my problem: I would like each item to display rich text. While we could write a custom RTF parser, that is a huge undertaking we'd not like to start. We cannot use the RichTextBox provided with the FCL since it is a standard System.Windows.Control which is not at all lightweight (thousands of items == thousands of RichTextBoxes, translates to bad performance plus lots of limitations related to standard WinForm Controls)
So I guess I'm looking for a way to display items containing Rich Text, thousands of items, all on a single GDI+ surface, without utilizing thousands of RichTextBox controls. Any suggestions?