We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.


Thread ID:





2967 Feb 24,2003 07:23 AM Feb 24,2003 08:26 AM Windows Forms 1
Tags: GridControl
Pascal Couture
Asked On February 24, 2003 07:23 AM

Is there a way to have multiple textcolors in the same cell? Let's say I display 4 words. I would like the first one to be red, the second one to be blue, ... Thank you for your help

Administrator [Syncfusion]
Replied On February 24, 2003 08:26 AM

In the upcoming 2.0 release, there will be support for a RichTextCell that will allow you to easily get this type of cell. If you want it right away, you could derive a cell control, say from GridStaticCellRenderer and GridStaticCellModel, and do you own drawing in the OnDraw override in teh renderer. You can get an idea of how to go about this from the DerivedCellControlTutorial which draws a colored link text in the cell. You woul dhave to do several draws, changing the colors between the drawing.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.