#765 – Adding Base or Derived Classes to a Class Diagram

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.

Capture

 

You can add the base class of ArgumentException to the diagram by right-clicking on the class and selecting Show Base Class.

765-002

 

The base class will now be shown on the diagram.

765-003

 

You can also show all derived classes of a particular class by right-clicking on the class and selecting Show Derived Classes.

765-004

 

Using this technique, you can easily browse through the classes in the .NET Framework.

765-005

About Sean
Software developer in the Twin Cities area, passionate about software development and sailing.

2 Responses to #765 – Adding Base or Derived Classes to a Class Diagram

  1. Pingback: #765 – Adding Base or Derived Classes to a Class Diagram | Desarrollo .Net ES-EN | Scoop.it

  2. Pingback: #765 – Adding Base or Derived Classes to a Class Diagram « Hispafoxing

Leave a comment