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

Theme not applied to docking

3 Answers 94 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Grober
Top achievements
Rank 1
Grober asked on 04 Jun 2009, 01:31 PM
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>

 

 

3 Answers, 1 is accepted

Sort by
0
Accepted
Miroslav Nedyalkov
Telerik team
answered on 05 Jun 2009, 02:00 PM
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.
0
Grober
Top achievements
Rank 1
answered on 25 Jun 2009, 12:59 PM
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.
0
Kaloyan
Telerik team
answered on 01 Jul 2009, 08:57 AM
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.
Tags
General Discussions
Asked by
Grober
Top achievements
Rank 1
Answers by
Miroslav Nedyalkov
Telerik team
Grober
Top achievements
Rank 1
Kaloyan
Telerik team
Share this question
or