G
Guest
I have a class which contains an instance of another class:
class A {
private classB theB;
public classB InnerMember
{
get { return theB;}
set { theB = value;}
}
}
I'd like to have the contained class's public members accessible/updateable
through the propertygrid component - how is this possible, ideally I'd like
it to look the "font" member of many controls with a "+" sign that clicking
on it would show the members of the class, but what I get is something like:
InnerMember | MyApp.InnerMember (grayed out)
class A {
private classB theB;
public classB InnerMember
{
get { return theB;}
set { theB = value;}
}
}
I'd like to have the contained class's public members accessible/updateable
through the propertygrid component - how is this possible, ideally I'd like
it to look the "font" member of many controls with a "+" sign that clicking
on it would show the members of the class, but what I get is something like:
InnerMember | MyApp.InnerMember (grayed out)