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

WP8 Detect Theme

1 Answer 54 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Shawn
Top achievements
Rank 1
Shawn asked on 28 Mar 2014, 05:06 PM
How can I detect which background theme (light/dark) Windows Phone is operating under?

1 Answer, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 31 Mar 2014, 10:22 AM
Hi Shawn,

If you have set a skin for your mobile application, you can get the name of the skin, using the kendo.mobile.application object that holds a reference to the current mobile application initialized. Please check the following example:

http://jsbin.com/wupasoci/1/edit

Regards,
Kiril Nikolov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
General Discussions
Asked by
Shawn
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Share this question
or