views:

390

answers:

1

I'd like to edit a list of key value(string, string) items using a propertygrid. When I use a Dictionary<string,string> as type the propertygrid will show a GUI, but it does not seem "enabled", ie. I can't add any items.

Is the Dictionary object supported, or is there any other object with which I could solve this problem?

+2  A: 

I have done it following these instructions in the past:

http://www.differentpla.net/content/2005/02/using-propertygrid-with-dictionary

Worked well for us.

Iain