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 Forms application project and How to: Add Controls to Windows Forms.

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 (The Ellipsis button (...) in the Properties window of Visual Studio.) next to the TabPages property to open the TabPage Collection Editor. Click the Add or Remove button.

See also