Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic Font color
Message
From
03/11/2006 11:26:50
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
 
To
03/11/2006 10:46:02
General information
Forum:
ASP.NET
Category:
Forms
Miscellaneous
Thread ID:
01166902
Message ID:
01166923
Views:
7
This message has been marked as the solution to the initial question of the thread.
Brian if your using VS.NET 2005 use the datagridview instead, on this you will need to handle CellFormating event. Handlers for this event receive an argument of the DataGridViewCellFormattingEventArgs type. This object contains properties that let you determine the value of the cell being formatted along with its location in the DataGridView control. This object also contains a CellStyle property that is initialized to the value of the InheritedStyle property of the cell being formatted. You can modify the cell style properties to specify style information appropriate to the cell value and location.


>I have a form with a datagrid, depending on the datafor the row I need to have the color of the font change for 1 column "In Progress..." should be red and "Complete" green. anyone know how to do this?
>
>Thanks
Alexandre Palma
Senior Application Architect
Previous
Reply
Map
View

Click here to load this message in the networking platform