Styling tab item header text application wide

2 posts, 1 answers
  1. Shawn
    Shawn avatar
    6 posts
    Member since:
    Oct 2010

    Posted 18 Oct 2011 Link to this post

    I'm trying to modify the text size for RadTabItem headers for the entire application. If I set fontsize on the control itself it will apply to all children so I'm modifying the template to change the size on just the header content control.

    I'm using the Metro theme set in the app.xaml.cs.

    When I use Expression Blend to Edit a Copy of the template I would expect that the template that gets generated would be exactly the same as the default Metro radtabitem template but it's not. If I drop a tabcontrol, edit template (copy) and run the app the background of the active tab is no longer white. I thought that setting the Theme explicitly on the control and then generating a copy might make a difference but it didn't.

    Is the suggested way to make changes like this to use Blend and generate a copy like I would for normal controls or do I have to include the Telerik theme project and modify the xaml directly there?
  2. Answer
    Petar Mladenov
    Petar Mladenov avatar
    3154 posts

    Posted 21 Oct 2011 Link to this post

    Hello Shawn,

     Yes, when you extract a Style/Template from Blend, you are actually copying the default style/template of the control. If you need to change non-default style, you have to copy it from the Themes project and paste it in your application. Please let u know if you need assistance on this. 

    Best wishes,
    Petar Mladenov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top