Trying to style the tab using the DocumentTabChromeStyle

2 posts, 0 answers
  1. Erez
    Erez avatar
    1 posts
    Member since:
    Jun 2011

    Posted 01 Jun 2011 Link to this post

    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?

  2. Pana
    Pana avatar
    748 posts

    Posted 01 Jun 2011 Link to this post


    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.

    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
Back to Top