public class Root
{
public override string ToString()
{
return null;
}
public Item[] items { get; set; }
public Root()
{
items = new Item[2];
items[1] = new Item();
items[0] = new Item();
}
}
[TypeConverter(typeof(ExpandableObjectConverter))]
public class Item
{
public override string ToString()
{
return null;
}
public int A { get; set; }
}
用propertygrid显示实例化的root类的时候出现如下画面,如何隐藏数组类的数组类型。