#765 – Adding Base or Derived Classes to a Class Diagram
January 24, 2013 2 Comments
You can use the class diagram to follow the inheritance chain for any class currently in the diagram, moving up to the class’ base class or down to the classes that derive from the class.
For example, let’s say that you’ve dragged the ArgumentException class onto a class diagram, from the Class View.
You can add the base class of ArgumentException to the diagram by right-clicking on the class and selecting Show Base Class.
The base class will now be shown on the diagram.
You can also show all derived classes of a particular class by right-clicking on the class and selecting Show Derived Classes.
Using this technique, you can easily browse through the classes in the .NET Framework.