In the picture below, "MyCars" is a collection. If an object's property is a collection, then in a PropertyGrid, the value appears as the string "(Collection)" with a button to the right if the item is selected.
Is it possible to change the "(Collection)" value? If so, how? The reason I ask is because I have implemented a custom UITypeEditor for the object that will appear in the PropertyGrid in my program. So far, the button on the right appears but the text value is the same as the display name of the property. I'd like a different string to appear there.
Edit: for what it's worth, I know I can override the PaintValue
method from UITypeEditor and provide an icon, which I may end up doing if I can't solve this issue, but I'd still like to know if and how that "(Collection)" text can be changed.