Visibility Settings for Viewports
The property box for 2D and 3D viewports each have a button for Visibility Settings. There, you can control which View Modes and Categories apply to the viewport. The View Mode tab matches what you see in the 2D or 3D views when selecting the View mode buttons. See this article to learn more about View Modes. ...