Group: StrataFrame Developers
Posts: 3K,
Visits: 2.5K
|
No, you're on the right track... in fact, that's what we do with the ListPopulation type editors. Once you have an Assembly object, you can call GetTypes() which will return a Type array containing all of the public types (by default, but you can specify flags to grab the private types as well), and on each one you can check if Type.IsSubClassOf(GetType(xtrareport)) then add it to the list and once they select one of the types, then you can create a new instance of it and stuff it in the property value using that context.PropertyDescriptor.SetValue() method.
|