Udostępnij za pośrednictwem


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.

Working with TabControl

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

Tasks

How to: Change the Appearance of the Windows Forms TabControl

How to: Add a Control to a Tab Page

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

How to: Disable Tab Pages

Reference

TabControl

Other Resources

TabControl Control (Windows Forms)

Dialog Boxes in Windows Forms