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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

TextColor

Thread ID:

Created:

Updated:

Platform:

Replies:

2967 Feb 24,2003 12:23 PM UTC Feb 24,2003 01:26 PM UTC WinForms 1
loading
Tags: GridControl
Pascal Couture
Asked On February 24, 2003 12:23 PM UTC

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 01:26 PM UTC

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.

CONFIRMATION

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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon 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.Close Icon

;