I’m working on extending the errorprovider to the propertygrid and treeview controls. I found a very helpful post at: Example
detailing how to add the errorprovider to a propertygrid, and it works very well. My question is how did the author know that IPropertyValueUIService is the interface that the propertygrid uses to display the icon and tooltip. I have used Reflector to dissassemble the propertygrid and IPropertyValueUIService and I don’t see any relationship.
This is for my own edification as a programmer as well as trying to extend the errorprovider to a treeview.
Thanks in advance,
dhysong
I’m guessing partly from the documentation?
Or from reflector; find IPropertyValueUIService, press Ctrl+r and expand “Used By”, and you can see how it is used by
PropertyGridInternal.PropertyDescriptorGridEntry.