Hello-
I've found that collection properties of type ICollection<string> (with the actual type being a List<string>) do not show the (+) button. If I override the ExpandableCollectionConverter and always return true for CanAddChild() then the button shows up as expected and it actually works, I'm able to add strings to the collection.
Also, related (but perhaps out of scope for this question), It seems that dictionary types are not able to be added to? the (+) button never shows up and when I force it to show up with the override mentioned above, clicking it does not work.
I'm submitting this as a question because I'm new to using the propertygrid and I'm on a slightly older version. So perhaps this is normal behaviour, but I was surprised to see the add-to-string-collection work after I forced the button to show.
Will adding to string collections and/or dictionaries be added in the future or are they supported now in the 11.1 releases?
Thank you!
I've found that collection properties of type ICollection<string> (with the actual type being a List<string>) do not show the (+) button. If I override the ExpandableCollectionConverter and always return true for CanAddChild() then the button shows up as expected and it actually works, I'm able to add strings to the collection.
Also, related (but perhaps out of scope for this question), It seems that dictionary types are not able to be added to? the (+) button never shows up and when I force it to show up with the override mentioned above, clicking it does not work.
I'm submitting this as a question because I'm new to using the propertygrid and I'm on a slightly older version. So perhaps this is normal behaviour, but I was surprised to see the add-to-string-collection work after I forced the button to show.
Will adding to string collections and/or dictionaries be added in the future or are they supported now in the 11.1 releases?
Thank you!