Modifying CollectionEditor in PropertyGrid
- by Chris
I currently have a list containing Call's, which is the base class. If I want to add derived classes of Call to the list, I know to do the following.
public class CustomCollectionEditor : System.ComponentModel.Design.CollectionEditor
{
private Type[] types;
public CustomCollectionEditor(Type type)
: base(type)
{
…