I'm having problems with finding the right place to set or change CategoryModels.
In my code, I create PropertyModels and CategoryModels manually to later add them to the PropertyGrid. I tried 2 approaches:
- Add the PropertyModels to the child collection of the CategoryModels. Here I have the problem that I don't know how or where to add the CategoryModels to the PropertyGrid
- Add the PropertyModels to the PropertyGrid.Properties collection. In this case, I have no idea where to find and change the CategoryModels to fit my needs. My PropertyModels are displayed correctly in the PropertyGrid within their categories, set in the PropertyModel.Category property, but I can't find a way to manipulate the CategoryModel properties.
Is there any convenient way to navigate through the CategoryModels and alter them or get my first approach (adding my CategoryModels to the PropertyGrid) to work?
Thank you in advance!