This is a migrated thread and some comments may be shown as answers.

Changing the color of an active tab

1 Answer 137 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
GEB
Top achievements
Rank 1
GEB asked on 11 Jun 2009, 08:25 PM
Do you have an example of how to change the color of an active tab, and the color of the inactive tabs?

1 Answer, 1 is accepted

Sort by
0
Kiril Stanoev
Telerik team
answered on 12 Jun 2009, 01:25 PM
Hello Gary,

Changing the color only of an inactive tab can be achieved by setting the background property.



<telerik:RadTabItem Header="Item1" Background="DarkGray"/> 

Changing the color of an active tab can be changed by editing the ControlTemplate.



In the attachment you can see a sample project demonstrating this scenario.
Give it a try and if you encounter any problems, let us know.

Sincerely yours,
Kiril Stanoev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
TabControl
Asked by
GEB
Top achievements
Rank 1
Answers by
Kiril Stanoev
Telerik team
Share this question
or