Telerik WPF controls doesnt show up on sample project

3 posts, 1 answers
  1. santhosh
    santhosh avatar
    2 posts
    Member since:
    Nov 2015

    Posted 26 Apr Link to this post

    Hi,

    We have a existing WPF-MVVM project in which if I add any telerik controls, it is reflecting in the screen when I run the application.

    But with the same telerik dlls, if I am trying to create a new sample project on one of the controls(ex:RadWindow) I am not able see any controls when I run the application. It just appears blank.

    I am not sure what I am missing. Is it mandatory to add Theme resources to the project? or is it something else? Please help me on the same.

     

    Thanks,

    Santhosh

  2. Answer
    Ivan Ivanov
    Admin
    Ivan Ivanov avatar
    1127 posts

    Posted 27 Apr Link to this post

    Hello,

    The Telerik UI for WPF product is distributed in two alternative sets of assemblies that differ in the theming mechanism that they use - StyleManager, ImplicitStyles. If the latter assemblies are used (they are the recommended ones), the XAML resources need to be merged in the application resource scope either from a theme assembly, or from separate resource dictionaries. If they are not merged, controls are not visualized, as there are no XAML resources in the control assemblies, and they are blank. The mentioned article describes the process for using the Implicit theming assemblies. If you are still not sure about the set of assemblies you are currently using, you can check it by looking at the assembly's file description. The one that use implicit styles have the "no XAML" text in the description.

    Regards,
    Ivan Ivanov
    Telerik
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. UI for WPF is Visual Studio 2017 Ready
  4. santhosh
    santhosh avatar
    2 posts
    Member since:
    Nov 2015

    Posted 27 Apr Link to this post

    Thanks. That helps a lot.
Back to Top