Introduction to the Windows Forms TabControl

Introduction to the Windows Forms TabControl

Visual Studio .NET 2003

The Windows Forms TabControl displays multiple tabs, like dividers in a notebook or labels in a set of folders in a filing cabinet. The tabs can contain pictures and other controls. You can use the tab control to produce the kind of multiple-page dialog box that appears many places in the Windows operating system, such as the Display control panel.

The most important property of the TabControl is TabPages, which contains the individual tabs. Each individual tab is a TabPage object. When a tab is clicked, it raises the Click event for that TabPage object.

See Also

Changing the Appearance of the Windows Forms TabControl | Adding a Control to a Tab Page | Adding and Removing Tabs with the Windows Forms TabControl | Disabling Tab Pages Programmatically | Dialog Boxes in Windows Forms | TabControl Class

© 2016 Microsoft