Green Theme, 'GreenTheme' is inaccessible..

2 posts, 0 answers
  1. Robert
    Robert avatar
    1 posts
    Member since:
    Sep 2016

    Posted 01 Oct 2016 Link to this post

    I have:

    StyleManager.ApplicationTheme = new GreenTheme(GreenPalette.ColorVariation.Light);

    and get "GreenTheme is inaccessible due to its protection level".

    It appears to be declared as public. 

    This works:

    StyleManager.ApplicationTheme = new Office_BlueTheme();

    Any samples of applying the Green Theme?  Or ideas?

    thanks,

    Robert

  2. Martin
    Admin
    Martin avatar
    95 posts

    Posted 03 Oct 2016 Link to this post

    Hello Robert,

    The Green theme is not accessible via StyleManager. It can be used only through Implicit Styles. You would need to use NoXaml binaries. You can review the following article about using the Implicit styles mechanism.

    Regards,
    Martin
    Telerik by Progress
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Back to Top