G
Guest
I've created a usercontrol with a Person property. The Person property
returns a Person object. I've also created a PersonConverter class which
inherits the ExpandableObjectConverter so the Person property is expandable
in the PropertyGrid. This all works fine.
I've also created another usercontrol that also has a Person property and
returns a Person object. But in this usercontrol I don't want the Person
object to be expandable.
What do I need to do in my PersonConverter class to enable the Person object
to be expandable in the PropertyGrid in my first usercontrol, but not in the
second usercontrol?
Thank you for your help.
returns a Person object. I've also created a PersonConverter class which
inherits the ExpandableObjectConverter so the Person property is expandable
in the PropertyGrid. This all works fine.
I've also created another usercontrol that also has a Person property and
returns a Person object. But in this usercontrol I don't want the Person
object to be expandable.
What do I need to do in my PersonConverter class to enable the Person object
to be expandable in the PropertyGrid in my first usercontrol, but not in the
second usercontrol?
Thank you for your help.