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.

Row color

Thread ID:





789 Aug 19,2002 01:37 AM Aug 19,2002 01:48 AM Windows Forms 1
Tags: FAQ
Vipul Bhatt
Asked On August 19, 2002 01:37 AM

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

Clay Burch [Syncfusion]
Replied On 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


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.