Changing MouseOver background of tabitems

2 posts, 0 answers
  1. LE DREAU Steeve
    LE DREAU Steeve avatar
    74 posts
    Member since:
    Aug 2012

    Posted 05 May 2011 Link to this post


    I'm trying to change the background color of RadTabItems using Blend or Visual Studio. I've edited the RadTabControl Template and tried to change colors into it but nothing happens. I've searched in your forums, but no concrete informations.
    Can you please help me on this point and show me how we can change the background color of radtabitem when the mouse is over it ?



  2. Tina Stancheva
    Tina Stancheva avatar
    3298 posts

    Posted 05 May 2011 Link to this post

    Hello LE DREAU Steeve,

    In order to implement your scenario you need to edit the RadTabItem ControlTemplate rather than the RadTabControl. Once you edit the RadTabItem ControlTemplate, you can change the MouseOver state resource brushes - TabItem_OuterBorder_MouseOver, TabItem_Background_MouseOver, TabItem_InnerBorder_MouseOver. The TabItem_Background_MouseOver is the brush controlling the background color of the RadTabItem when the mouse is over it.

    I attached a sample project to get you started. I hope it helps.

    Tina Stancheva
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft R3 2016 release webinar banner
Back to Top