|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
How to: View Type Members
In Class Designer, you can show or hide the members within their compartments in the type shapes on the class diagram. Hiding members within their compartments can help simplify your view of the diagram or to emphasize certain aspects of the types that appear on the diagram.
The class diagram displays members in compartments by default. When all members within a compartment are hidden, the compartment becomes hidden. Hiding or showing compartments and their members does not affect the code. For more information, see.
To show hidden members in a type shape
On the class diagram, right-click the compartment name, and choose Show All Members.
Hidden members appear in the compartment.
You can also show a type member using the Class Details window by clearing the Hide check box for the member. For more information, see.
To hide a member in a type shape
On the class diagram, right-click the member name, and choose Hide.
The member is no longer visible in the compartment.
You can also hide a member using the Class Details window by selecting the Hide check box for the member. For more information, see.