Share via


How to: Add and Remove Tabs with the Windows Forms TabControl Using the Designer

When you place a TabControl control on your form, it contains two tabs by default. You can add or remove tabs using the designer.

The following procedure requires a Windows Application project with a form containing a TabControl control. For information about setting up such a project, see How to: Create a Windows Application Project and How to: Add Controls to Windows Forms.

Note

The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.

To add or remove a tab using the designer

  • On the control's smart tag, click Add Tab or Remove Tab

    -or-

    In the Properties window, click the Ellipsis button (VisualStudioEllipsesButton screenshot) next to the TabPages property to open the TabPage Collection Editor. Click the Add or Remove button.

See Also

Tasks

How to: Add a Control to a Tab Page
How to: Disable Tab Pages
How to: Change the Appearance of the Windows Forms TabControl

Reference

TabControl Control Overview (Windows Forms)

Other Resources

TabControl Control (Windows Forms)