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

Row color

Thread ID:

Created:

Updated:

Platform:

Replies:

789 Aug 19,2002 05:37 AM UTC Aug 19,2002 05:48 AM UTC WinForms 1
loading
Tags: FAQ
Vipul Bhatt
Asked On August 19, 2002 05:37 AM UTC

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 05:48 AM UTC

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

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.

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

;