RichText Color Formatting in a GGC Cell

I have GGC, with a RichTextBox as the CellType in one of the Cells in the parent TableDescriptor. I would like to change the color on portions of the text. I am presently using the QueryCellInfo event handler. I was thinking I need to get a reference to the Cell's GridRichTextBoxCellRenderer so I can call rtb.Find(), then call the rtb.SelectionColor(). Can you assist with an example or code snipet.
Thx

3 Replies

AD Administrator Syncfusion Team March 19, 2007 04:45 PM UTC

Hi JMS,

Here is a minimal sample that shows you "how to change the SelectedText color in a RichTextBox cell?".
http://websamples.syncfusion.com/samples/Grid.Windows/GGCRichText/main.htm

Best regards,
Haneef


SR Sudharsini Ravikumar September 11, 2007 10:46 PM UTC

Hi I'm trying to do something similar except I'm using InPlaceRichTextCell model. Could you please help?

Sudha

>Hi JMS,

Here is a minimal sample that shows you "how to change the SelectedText color in a RichTextBox cell?".
http://websamples.syncfusion.com/samples/Grid.Windows/GGCRichText/main.htm

Best regards,
Haneef


SR Sudharsini Ravikumar September 12, 2007 06:18 AM UTC

Never mind. Got it! Thanks.

Loader.
Up arrow icon