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

Green Theme, 'GreenTheme' is inaccessible..

1 Answer 49 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 01 Oct 2016, 10:27 PM
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

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 03 Oct 2016, 08:43 AM
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.
Tags
General Discussions
Asked by
Robert
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or