The following shortcut key combinations can be used only when you work with class diagrams.
When you select Visual C# Development Settings in the Import and Export Settings Wizard, the Visual C# 2005 keyboard mapping scheme is applied. Visual C# 2005 is the current keyboard mapping scheme. This is the keyboard mapping scheme that is applied to the integrated development environment (IDE) at initial startup. For more information, see How to: Change Select Settings.
To switch to the Visual C# keyboard mapping scheme
On the Tools menu, click Options.
Expand Environment, and then click Keyboard.
Select Visual C# 2005 from the Apply the following application keyboard mapping scheme drop-down list.
NUM - (MINUS SIGN)
Collapses expanded nodes in the Class Details window or collapses the selected shape compartment in the diagram.
NUM + (PLUS SIGN)
Expands collapsed nodes in the Class Details window or expands the selected shape compartment in the diagram.
CTRL + DELETE
Removes the selected item from the class diagram.
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. By using this command, you can collapse the list of inherited interfaces to show only summary information about the number of base interfaces inherited by Interface1.
SHIFT + ALT + L
Selects the Interface Lollipop for a shape compartment. The lollipop appears on shapes that implement one or more interfaces.
Removes the selected shape compartment from the diagram.
- or -
For the selected item, opens the corresponding file and puts the cursor in the correct location.