- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I want to use the PropertyGrid control on a main Settings form to allow the user to configure the add-in and on a few dedicated forms to manage some details of the project. The list of valid settings and their default values are loaded from a json file the first time the Settings form is opened, then stored in a DataStorage.
The documentation gives you some guidelines about how to use the property grid, but doesn't mention any helper functions.
I was hoping to find a standard property grid, a few helper classes for the common types, like length, angle, material, etc., and I could cycle through my json settings, create one object using one of those classes according to the setting description in the json data and add them one by one to the property grid. Well, I'm posted this because I didn't find the helper classes or any description of how to use the property grid.
Does it mean that I need to create my own form with my own PropertyGrid control?
And I need to create all the classes required for that thing to work?
Classes that are already complex enough for predefined classes, but reach nightmare level for dynamic classes?
Please someone tell me that there is an easier way!
Solved! Go to Solution.