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

Styling tab item header text application wide

1 Answer 127 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
Shawn
Top achievements
Rank 1
Shawn asked on 18 Oct 2011, 08:45 PM
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?

1 Answer, 1 is accepted

Sort by
0
Accepted
Petar Mladenov
Telerik team
answered on 21 Oct 2011, 12:45 PM
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 >>

Tags
TabControl
Asked by
Shawn
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Share this question
or