View -> Reverse Visibility

Inverts the visibility status of the parts: turned on parts will be turned off and those turned off will be turned on.