I have a property grid and need to modify the data dynamically, so that different properties get different drop down menus (the entries in the dropdown are not known at design time). I already tried the method described in the post How to modify PropertyGrid at runtime (add/remove property and dynamic types/enums).
Now, my problem is the following: I implemented the TypeConverter as described in the post. But the propertyGrid greys out the property and doesn't show a dropdown. I tried that with the exact same code as in the example. When using the sample project, it works fine, but integrating it into my own project the dropdown doesn't show.
Does anybody know, if there are any application settings or something like that, which could cause this effect? I already checked framework version, but so far I didn't find anything.