G
Guest
Hi there. I try the following
class test
{
private Int32 a,b;
public Int32 A {get{return(a);}}
public Int32 B {get{return(b);}}
}
class testContainer
{
private test[] cont=new test[30];
[TypeConverter(typeof(ExpandableObjectConverter))]
public test[] CONT {get{return(cont);}}
}
giving an istance of testcontainer to the propertigrid show me the CONT
property as a collection in a poput collection editor, while I'd like to see
each item of the array expandable in the property grid itself.
I tryed something with the TypeCoverter but maybe I didn't got the right way.
Any help!?
Thanks
Cristian Mori
class test
{
private Int32 a,b;
public Int32 A {get{return(a);}}
public Int32 B {get{return(b);}}
}
class testContainer
{
private test[] cont=new test[30];
[TypeConverter(typeof(ExpandableObjectConverter))]
public test[] CONT {get{return(cont);}}
}
giving an istance of testcontainer to the propertigrid show me the CONT
property as a collection in a poput collection editor, while I'd like to see
each item of the array expandable in the property grid itself.
I tryed something with the TypeCoverter but maybe I didn't got the right way.
Any help!?
Thanks
Cristian Mori