TabControl Control Overview

TabControl Control Overview (Windows Forms)


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 Control Panel Display Properties. Additionally, the TabControl can be used to create property pages, which are used to set a group of related properties.

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.

© 2016 Microsoft