We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to set the default tab backcolor, active tab color and inactive tab color in WinForms TabControlAdv?

Platform: WinForms |
Control: TabControlAdv |
Published Date: November 21, 2014 |
Last Revised Date: February 3, 2020


In TabcontrolAdv, the Active Tab’s backcolor, the default Tab’s backColor and the Inactive Tab’s backcolor can be changed. You can do so by choosing the colors for ActiveTabColor, TabBackColor, InActiveTabColor property.


Before using Default backcolor property, you need to disable the UseActiveTabColor property for needed tab pages.


//Set the active tab backcolor
this.tabControlAdv1.ActiveTabColor = Color.Pink;
//Set the Inactive tab backcolor
this.tabControlAdv1.InactiveTabColor = Color.LightBlue;
//Set the Default tab backcolor
this.tabControlAdv1.TabPages[0].UseActiveTabColor = false;
this.tabControlAdv1.TabPages[0].TabBackColor = Color.Red;


'Set the active tab backcolor
Me.tabControlAdv1.ActiveTabColor = Color.Pink
'Set the Inactive tab backcolor
Me.tabControlAdv1.InactiveTabColor = Color.LightBlue
'Set the Default tab backcolor
Me.tabControlAdv1.TabPages(0).UseActiveTabColor = false
Me.tabControlAdv1.TabPages(0).TabBackColor = Color.Red

Sample: http://www.syncfusion.com/downloads/support/directtrac/general/Tabbackcolor561623976.zip

Reference link: https://help.syncfusion.com/windowsforms/tabcontrol/appearance-settings

2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile