Hi all,
I have a class here:
public class MyClass
{
public enum test {Blah , Yamm }
public Enum TestInPropertyGrid
{
get
{
return new test();
}
}
}
when i pass an instance of MyClass to PropertyGrid, the property TestInPropertyGrid will not display.
But when I change
public Enum TestInPropertyGrid to public test TestInPropertyGrid it will work correctly.
Actually i have so many enums like test and i want my property return type to remain Enum.
Any solutions for me?




