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. Image for the cookie policy date

Row color

Hi. Can anyone tell please if i can have rows with different colors depending on the data in that row. Thanks in advance.

1 Reply

CB Clay Burch Syncfusion Team August 19, 2002 01:48 AM

The first technique in this FAQ can be used to color rows as well. Use the rowNum that is passed into the Paint method as part of your condition for setting the color. George Shepherd's Windows Forms FAQ contains an entry entitled: How do I color a individual cell depending upon its value or some external method? http://www.syncfusion.com/faq/winforms/search/745.asp

Loader.
Live Chat Icon For mobile
Up arrow icon