--- title: Change the Appearance of TabControl ms.date: "03/30/2017" dev_langs: - "csharp" - "vb" - "cpp" helpviewer_keywords: - "icons [Windows Forms], displaying on tabs" - "TabControl control [Windows Forms], changing page appearance" - "tabs [Windows Forms], controlling appearance" - "buttons [Windows Forms], displaying tabs as" ms.assetid: 7c6cc443-ed62-4d26-b94d-b8913b44f773 --- # How to: Change the Appearance of the Windows Forms TabControl You can change the appearance of tabs in Windows Forms by using properties of the and the objects that make up the individual tabs on the control. By setting these properties, you can display images on tabs, display tabs vertically instead of horizontally, display multiple rows of tabs, and enable or disable tabs programmatically. ### To display an icon on the label part of a tab 1. Add an control to the form. 2. Add images to the image list. For more information about image lists, see [ImageList Component](imagelist-component-windows-forms.md) and [How to: Add or Remove Images with the Windows Forms ImageList Component](how-to-add-or-remove-images-with-the-windows-forms-imagelist-component.md). 3. Set the property of the to the control. 4. Set the property of the to the index of an appropriate image in the list. ### To create multiple rows of tabs 1. Add the number of tab pages you want. 2. Set the property of the to `true`. 3. If the tabs do not already appear in multiple rows, set the property of the to be narrower than all the tabs. ### To arrange tabs on the side of the control - Set the property of the to or . ### To programmatically enable or disable all controls on a tab 1. Set the property of the to `true` or `false`. ```vb TabPage1.Enabled = False ``` ```csharp tabPage1.Enabled = false; ``` ```cpp tabPage1->Enabled = false; ``` ### To display tabs as buttons - Set the property of the to or . ## See also - [TabControl Control](tabcontrol-control-windows-forms.md) - [TabControl Control Overview](tabcontrol-control-overview-windows-forms.md) - [How to: Add a Control to a Tab Page](how-to-add-a-control-to-a-tab-page.md) - [How to: Disable Tab Pages](how-to-disable-tab-pages.md) - [How to: Add and Remove Tabs with the Windows Forms TabControl](how-to-add-and-remove-tabs-with-the-windows-forms-tabcontrol.md)