#762 – Creating a Class Diagram Containing Types in the .NET Framework

You typically create a class diagram in a project for the custom types that you’ve created in that project.  You can also include types on a class diagram that come from assemblies that your project references, including the .NET Framework itself.

To add elements to a class diagram representing types in the .NET Framework, do the following:

Add a new class diagram to the project.  (Right-click on project, select AddNew Item, then select Class Diagram).



Switch from Solution Explorer to Class View and expand Project References until you find a namespace or type that you want to look at.



Left-click and drag the selected namespace onto the class diagram.  All types from that namespace will show up on the class diagram (initially zoomed out).


You can zoom in and expand types to see more details.




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

One Response to #762 – Creating a Class Diagram Containing Types in the .NET Framework

  1. genma says:

    Hello. What’s that little icon under the Inheritance arrow (The one that kinda looks like an horizontal mouse)? Thank you.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: