M
Marek Wasilewski
Hi
I have an object whose properties are exposed in a property grid using the
usual method:
_propertyGrid.SelectedObject = objMain;
However, what I want to do is for the property grid to also display the
properties of an object (objMainMember) which is defined as a property of
the first object (objMain), thereby getting all of the properties for the
objMain and objMainMember objects in one SelectedObject assignment.
I was hoping that by exposing the member object that the whole thing would
somehow reconcile itself. Is there any way that something like this could
work?
Thanks for any help anyone can provide.
Marek
I have an object whose properties are exposed in a property grid using the
usual method:
_propertyGrid.SelectedObject = objMain;
However, what I want to do is for the property grid to also display the
properties of an object (objMainMember) which is defined as a property of
the first object (objMain), thereby getting all of the properties for the
objMain and objMainMember objects in one SelectedObject assignment.
I was hoping that by exposing the member object that the whole thing would
somehow reconcile itself. Is there any way that something like this could
work?
Thanks for any help anyone can provide.
Marek