Expression Dark Theme The given key was not present in the dictionary.

2 posts, 0 answers
  1. Ristogod
    Ristogod avatar
    63 posts
    Member since:
    Aug 2008

    Posted 19 Aug 2013 Link to this post

    Anytime we try to use the Expression Dark them in Silverlight, we get an error that says the given key was not present in the dictionary. Yet other themes work just fine. What gives?

    StyleManager.ApplicationTheme = new Expression_DarkTheme();
  2. Georgi
    Admin
    Georgi avatar
    349 posts

    Posted 22 Aug 2013 Link to this post

    Hello Nathan,

    This would usually indicates that the Telerik.Windows.Themes.Expression_Dark.dll is not added in the projects references or it is added but the assemblie is no_xaml and therefore the xaml you need to display the theme is missing.
    If that is not the case could you please give us more information on what version of the controls you are using?
    Also a simple project could be helpful just to make sure that we are doing the same thing.

    Regards,
    Georgi
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. DevCraft banner
Back to Top