Can we change the text/background color of an individual property in PropertyGrid

Posted by Charvak on Stack Overflow See other posts from Stack Overflow or by Charvak
Published on 2010-05-18T13:20:25Z Indexed on 2010/05/18 14:41 UTC
Read the original article Hit count: 175

Filed under:
|
|
|

I have a .NET PropertyGrid control which displays properties of some class. I want to change the color or font or background color(it doesn't matter just that they look different from the other displayed properties) of some property. I can do with writing custom editor but I was wondering

  1. If an easier method exists?
  2. If I use custom editor then how do i change the editor of built-in types like bool, int etc.

Thanks

© Stack Overflow or respective owner

Related posts about c#

Related posts about propertygrid