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

Themes don't apply

8 Answers 143 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Eric
Top achievements
Rank 1
Eric asked on 14 Oct 2014, 03:45 AM
I've followed the tutorial on getting themes running. I have added the merged resource library to App.xaml and I can even apply themes listed in the theme files to my controls....but nothing happens.

For example, I have quite a few buttons and I do not have them themed, so according to the docs adding the merged resource library should start theming my buttons but it does not.

I went to an individual button and explicitly set the theme to the button style in the them file, and intellisence detected the them was there and everything but still no theme is applied. 

I do get the following error by all brush properties:

Object of type 'Telerik.Windows.Controls.VisualStudio2013ResourceKey' cannot be converted to type 'Telerik.Windows.Controls.VisualStudio2013ResourceKey'.

Maybe something didn't install properly? I've looked all over for those resources and I can't find them. 

Thanks!
Eric

8 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 14 Oct 2014, 01:35 PM
Hello Eric,


Thank you for contacting us. 

Generally, there should be no problem to apply any Telerik theme, as proposed in our documentation. 
May you please share with us what kind of controls are you trying to style? 

Our themes are designed to be used with UI for WPF and several MS Controls being supported by our theming mechanism. You could find the complete list of these components, here.  

Any additional information about the assembly version you are currently using will be highly appreciated, as well. 


Regards,
Vanya Pavlova
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Eric
Top achievements
Rank 1
answered on 16 Oct 2014, 02:30 AM
I am trying to use an overall theme. One control I've noticed is not recieving the theme are buttons. 

Also I have some RADGridViews that still have their default theme. 

If I try to I can explicitly set the style of a button like so:

<Button Content="Print Goods" Click="PrintProducts_Click" Style="{StaticResource ButtonStyle}"/>

"ButtonStyle" is the key of your style and it shows up in the intellisence but no style is applied to the button. 













0
Eric
Top achievements
Rank 1
answered on 17 Oct 2014, 12:30 AM
I was missing a few references, it's working much better now.
0
Vanya Pavlova
Telerik team
answered on 20 Oct 2014, 07:20 AM
Hi Eric,


I'm glad to hear that you were able to resolve the issue by your side.

Is there something else we can help you with?


Regards,
Vanya Pavlova
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Eric
Top achievements
Rank 1
answered on 20 Oct 2014, 03:48 PM
My only other question with regard to themes is whether there is some place I can browse through the themes and see what each looks like. I do not see anything like that with your demos.
0
Vanya Pavlova
Telerik team
answered on 21 Oct 2014, 07:34 AM
Hello Eric,


Each component has Theming example in our demos, which you can use for themes testing purposes. 
In the Configuration Panel you may choose any Telerik theme and get the corresponding look and feel. 

Are you looking for something similar?


Regards,
Vanya Pavlova
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Eric
Top achievements
Rank 1
answered on 23 Oct 2014, 02:01 AM
Yes, the theming examples in the demos were what I was looking for. Thanks :)
0
Vanya Pavlova
Telerik team
answered on 23 Oct 2014, 07:40 AM
Hi Đ•ric,


If you have any additional questions do not hesitate to contact us again.
Have a great day. 


Regards,
Vanya Pavlova
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
Eric
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Eric
Top achievements
Rank 1
Share this question
or