Hi all,
in VB.NET I have two classes with different properties, for example (pseudo code)

class_A
property text
property color

Class_B
property text
property width

I have a designer where objects can be selected and edited.

When I select an object of type Class_A, I can set the propertybox to show the property of Class_A, and when an object of Class_B is selected, then the property of Class_B are shown.

The problem is that when both objects are selected, I would like to show only the common properties; in the above example, the propertybox should only show the property "text".

How can I do this ?

Thanks for your attention,
Sergio.