This documentation is archived and is not being maintained.

Class Diagram Shortcut Keys, Visual C# 2005 Scheme 

The following shortcut key combinations can be used only when you work with class diagrams.

NoteNote

The options available in dialog boxes, and the names and locations of menu commands you see, might differ from what is described in Help depending on your active settings or edition. To change your settings, click Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.

Command Name Shortcut Keys Description

ClassDiagram.Collapse

NUM - (MINUS SIGN)

Collapses expanded nodes in the Class Details window or collapses the selected shape compartment in the diagram.

ClassDiagram.Expand

NUM + (PLUS SIGN)

Expands collapsed nodes in the Class Details window or expands the selected shape compartment in the diagram.

Edit.Delete

CTRL + DELETE

Removes the selected item from the class diagram.

Edit.ExpandCollapseBaseTypeList

SHIFT + ALT + B

Expands or collapses base types in the selected shape compartment.

For example, if Interface1 inherits from Interface2, Interface3, and Interface4, the parental interfaces are listed on the shape compartment for Interface1. With this command, you can collapse the list of inherited interfaces to show only summary information about the number of base interfaces inherited by Interface1.

Edit.NavigateToLollipop

SHIFT + ALT + L

Selects the Interface Lollipop for a shape compartment. The lollipop appears on shapes that implement one or more interfaces.

Edit.RemoveFromDiagram

DELETE

Removes the selected shape compartment from the diagram.

View.ViewCode

ENTER

- or -

F7

For the selected item, opens the corresponding file and puts the insertion point in the correct location.

See Also

Show: