PropertyGrid painting

G

Guest

Is there a way to paint a different color for the title of each property in a
property grid -- i.e. to have the title background be different from the edit
field background for the property?
 
G

Gabriel Lozano-Morán

Property grid has only 1 Backcolor that will be used as background colour
when rendering the property labels and values. It could be possible by
setting the background brush to a specific value and then invalidating the
property label area but it is so complex that you might consider writing
your own property grid.

Gabriel Lozano-Morán
Real Software
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top