Theme not applied to docking

4 posts, 1 answers
  1. Grober
    Grober avatar
    2 posts
    Member since:
    May 2009

    Posted 04 Jun 2009 Link to this post

    I have added docking panes like below. I am using theming and in my LayoutRoot grid I have specified the theme I want to use. However, the theme is not applied to the contents of the docking panes.

    Also, the theme is not applied to the docking tabs themseleves, nor to it's background.

    On all the other controls on my page the theme is applied properly. Am I missing something?

    <Grid x:Name="LayoutRoot" theming:ImplicitStyleManager.ResourceDictionaryUri="Themes/System.Windows.Controls.Theming.ShinyRed.xaml" theming:ImplicitStyleManager.ApplyMode="Auto">
    ...
    <radDock:RadDocking>
        <radDock:RadSplitContainer InitialPosition="DockedLeft" Width="Auto">
            <radDock:RadPaneGroup>
                <radDock:RadPane Header="Testing dock" IsPinned="False">
                    <!-- Here are controls on which the theme is not applied -->
                </radDock:RadPane>
                <radDock:RadPane Header="Testing dock 2" IsPinned="False" >

     

                    <!-- Here are more controls on which the theme is not applied -->
                </radDock:RadPane>
            </radDock:RadPaneGroup>
        </radDock:RadSplitContainer>
    </radDock:RadDocking>

     

     

  2. Answer
    Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 05 Jun 2009 Link to this post

    Hi Grober,

    Unfortunately this doesn't work for the initially unpinned panes. The good news is that it works in all other cases - we tested it. You can work-around it by implicitly setting the theme to the content of all the initially unpinned panes (and only to their content). 

    We are sorry for the inconvenience and will investigate the issue.

    Regards,
    Miroslav Nedyalkov
    the Telerik team

    Instantly find answers to your questions on the newTelerik Support Portal.
    Check out the tipsfor optimizing your support resource searches.
  3. Grober
    Grober avatar
    2 posts
    Member since:
    May 2009

    Posted 25 Jun 2009 Link to this post

    No news on this one? I will mark your post as an answer, but it is a bit inconvenient when I want to introduce theme changing on the fly in my application.
  4. Kaloyan
    Admin
    Kaloyan avatar
    920 posts

    Posted 01 Jul 2009 Link to this post

    Hi Grober,

    The problem is that the unpinned RadPanes are not available in the Visual Tree. This is why for now it is not possible to apply a custom theme to this kind of panes. We are working to eliminate this limitation and provide a workaround ASAP.

    Regards,
    Kaloyan
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top