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

Trying to style the tab using the DocumentTabChromeStyle

1 Answer 29 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Erez
Top achievements
Rank 1
Erez asked on 01 Jun 2011, 08:04 AM
Hi,
I have been trying to restyle the tab header of the RadPanes and make them into a trapez shape.
I defined a style for DocumentTabChromeStyle, but did not see the effect in the view.

So, in order to trace the problem, I went to the definition of the Summer theme, where there is an irregular tab shape, I copied the XAML into my resource dictionary and even then didn't see the change in the tab shape.

What am I doing wrong?

Thanks,
Erez

1 Answer, 1 is accepted

Sort by
0
Pana
Telerik team
answered on 01 Jun 2011, 12:34 PM
Hello,

You can get all the styles from the Summer theme. Add x:Keys on all implicit styles so they don't turn your app Summer and reuse the templates from the resource dictionary. Note this is especially easy using Blend. When you merge the so modified xaml resources in App.xaml you can create an implicit style that applies to all RadPane's and sets their DocumentHostTemplate to the same template used in Summer. I am attaching an example project with the modifications done.

Regards,
Pana
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
Tags
Docking
Asked by
Erez
Top achievements
Rank 1
Answers by
Pana
Telerik team
Share this question
or