Windows Develop Bookmark and Share   
 index > Windows Forms General > PropertyGrid - Changing a cell's forecolor at runtime
 

PropertyGrid - Changing a cell's forecolor at runtime

I'm searching for some hints on how to change the text forecolor for specific cells in the PropertyGrid at runtime. I assumeimplementing aUITypeEditor would be part of the answer, but I haven't found any hints on what to do from there. I was thinking of overriding the EditValue method somehow, but since I haven't written many UITypeEditors, I'm not even sure if this is the correct direction. Any ideas? Thanks.
AdamBert  Tuesday, March 04, 2008 3:20 PM
Hello Adam,

Simply put, you can't.
Only a 3rd party control like Smart PropertyGrid will allow you to do that.

Best regards,


Nicolas Cadilhac @ VisualHint
Smart PropertyGrid.Net
Microsoft PropertyGrid Resource List
Free PropertyGrid for MFC
Smart FieldPackEditor.Net / DateTimePicker

VisualHint  Tuesday, March 04, 2008 5:17 PM
Hello Adam,

Simply put, you can't.
Only a 3rd party control like Smart PropertyGrid will allow you to do that.

Best regards,


Nicolas Cadilhac @ VisualHint
Smart PropertyGrid.Net
Microsoft PropertyGrid Resource List
Free PropertyGrid for MFC
Smart FieldPackEditor.Net / DateTimePicker

VisualHint  Tuesday, March 04, 2008 5:17 PM

You can use google to search for other answers

Custom Search

More Threads

• Change the Return Key to function same as the Tab Key, How?
• directory browsing
• using datasets...
• how to input text in TextBox control which is inserted into a RichTextBox control
• Background Worker Problem
• TextChanged event works differently for Multiline TextBox
• On Screen Menu - GDI+ Possible?
• Dimensional Arrays
• How can I have a container within my user control serve as the main container for all controls that are dumped into it
• Window Form - Validating User and Password Through Database (Access).