Changing the color of an active tab

2 posts, 0 answers
  1. GEB
    GEB avatar
    228 posts
    Member since:
    Dec 2008

    Posted 11 Jun 2009 Link to this post

    Do you have an example of how to change the color of an active tab, and the color of the inactive tabs?
  2. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1511 posts

    Posted 12 Jun 2009 Link to this post

    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.
  3. DevCraft banner
Back to Top