Hopefully someone has run into and solved this problem.
I have a propertygrid with a set of readonly properties.
Properties that do not use a custom uitype editor have their property names show up dimmed or grey'd out.
Properties that have a uitype editor specified do not show this way. They show in normal black text. If I comment out the editor attribute, then the property name dims out.
Since all the other readonly properties are grey, having the one with the custom editor not be grey gives the user the impression that it is editable. If I change the value in the editor, the readonly attribute is honored in that the value is not actually changed.
Is this the correct behavior? If there a way to make readonly properties with a uitypeeditor set appear grey'd out?
following another thread where the user had the same problem for expandable object properties, I have tried changing the CanConvertFrom of my typeconverter to return true for strings, but this does not work.
Thanks,
Dan