Populate the propertygrid dynamically

  • Thread starter Thread starter moni
  • Start date Start date
M

moni

Hi,

I wanted to populate the property grid after getting a set of keys and
values from the server onto a hashtable. Basically the name of the
property should be the key and the value should be the value.

But I dont know how I would iterate through a while loop, to get to do
something like that?

Please could someone help me out with this.

Thanks alot!
 
(additional: you might need to use
[TypeConverter(typeof(ExpandableObjectConverter))] on the wrapper
class, since PropertyGrid uses the designated type-converter to obtain
sub-properties)

Marc
 

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

Back
Top