PropertyGrid Control - Accessing Collections

G

Guest

Hi,

I have been trying to use the property grid control as a means of editing an
object, one of the properties of the objet is a collection of another of my
classes. to create the collection i have inherited CollectionBase.

When the PropertyGrid is displayed the collection has the elipses as
expected, but when i click on this the pop-up editor any try to add a new
item to the collection the item is of type System.Object (with no properties)
rather than my own object?

Any help appriciated
 

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