PropertyGrid ~ Collection properties


J

JezB

Does anyone have any guidelines about how I can get the PropertyGrid to work
with a property that exposes a collection of objects? ie. I want the
property grid to show a single property with (Collection) and "..." for
expanding to the standard object collection editor.

I have tried exposing a populated ArrayList property from my class but the
property grid opens up a blank object collection editor when I hit the "..."
property expansion button.
 
Ad

Advertisements

1

100

Hi Jez,
Could you post some example of how you do this? If try selecting object
with collection property in PropertyGrid everything seems to work just fine.

B\rgds
100
 

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