All PropertyGrid examples I have seen allow the user to edit a single object, which PropertyGrid scans by reflection. I would like the user to be able to edit, for example, an ini file or a plain-old Dictionary, with one line per key-value pair. Is this possible?
Yes. Some years ago, I wrote some code to display an IDictionary
in a PropertyGrid
.