Themes don't apply

9 posts, 0 answers
  1. Eric
    Eric avatar
    36 posts
    Member since:
    Apr 2013

    Posted 13 Oct 2014 Link to this post

    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

  2. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 14 Oct 2014 Link to this post

    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.

     
  3. UI for WPF is Visual Studio 2017 Ready
  4. Eric
    Eric avatar
    36 posts
    Member since:
    Apr 2013

    Posted 15 Oct 2014 in reply to Vanya Pavlova Link to this post

    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. 













  5. Eric
    Eric avatar
    36 posts
    Member since:
    Apr 2013

    Posted 16 Oct 2014 in reply to Eric Link to this post

    I was missing a few references, it's working much better now.
  6. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 20 Oct 2014 Link to this post

    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.

     
  7. Eric
    Eric avatar
    36 posts
    Member since:
    Apr 2013

    Posted 20 Oct 2014 in reply to Vanya Pavlova Link to this post

    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.
  8. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 21 Oct 2014 Link to this post

    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.

     
  9. Eric
    Eric avatar
    36 posts
    Member since:
    Apr 2013

    Posted 22 Oct 2014 in reply to Vanya Pavlova Link to this post

    Yes, the theming examples in the demos were what I was looking for. Thanks :)
  10. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 23 Oct 2014 Link to this post

    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.

     
Back to Top
UI for WPF is Visual Studio 2017 Ready