How to: View Derived Types
Class diagrams can display relationships between types, including inheritance relationships. An inheritance relationship can exist between two classes, between two interfaces, or between a class and an interface.
A type's base type name is always displayed within the shape header. In the case of multiple interfaces, where the list can get long, the list can be collapsed to conserve space.
This procedure assumes that an inheritance relationship exists between the type and its base class or interface. If no inheritance relationship exists, you can create one by following the steps in.
To view a derived type, an inheritance relationship must exist between two types. To define an inheritance relationship, see.
To display the types derived from the selected type
On the class diagram, select the type for which you want to view its derived types.
On the Class Diagram menu, Show Derived Classes or Show Derived Interfaces as appropriate.
The shapes representing the derived classes or interfaces appear selected on the diagram. Any hidden inheritance lines now appear on the diagram.
You can also right-click the type and choose Show Derived Classes or Show Derived Interfaces as appropriate.