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

Understanding name of the theme

3 Answers 51 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Saravana Kumar
Top achievements
Rank 1
Saravana Kumar asked on 15 Dec 2010, 08:14 AM
I followed your custom theme tutorial (telerik way) and it all seems to work as explained in the document. I'm able to set the theme in my application (at app.xaml.cs) or use the SetTheme method in individual xaml.cs file.

But what is the correct naming convention for defining it in Xaml, is it something like this
telerik:StyleManager.Theme="My" (or)
telerik:StyleManager.Theme="MyTheme" (or)
telerik:StyleManager.Theme="local:My" (or)
telerik:StyleManager.Theme="local:MyTheme"

I tried all of them and couldn't make it work.


I'm having same difficulty understanding the predefined themes as well, is there some kind of convensional coding behind the scene.






Regards,
Saravana

3 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 17 Dec 2010, 01:48 PM
Hello Saravana,

Can you please send your project that demonstrates how your custom theme is defined?
Thus, we will be able to investigate this issue on our end and provide you with an appropriate solution.

Greetings,
Vanya Pavlova
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
Saravana Kumar
Top achievements
Rank 1
answered on 17 Dec 2010, 04:36 PM
Hi Vanyo,
I followed your custom theme solution, explained here http://www.telerik.com/help/silverlight/common-styling-apperance-themes-custom-theme-project-telerik-approach.html

Some of my questions were generic. Ex: When I specify a theme in xaml, I specify it something like this

telerik:StyleManager.Theme="Expression_Dark", where is this Expression_Dark string constant coming from?

Regards,
Saravana
0
Vanya Pavlova
Telerik team
answered on 20 Dec 2010, 11:41 AM
Hello Saravana,

 

Actually Expression_Dark stands for the name of this theme and you use this value to set up the theme in the same way you specify any other theme we offer. I have prepared an example for you that demonstrates the approach in the referenced help topic.


If you need any further assistance please let me know.

Regards,
Vanya Pavlova
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
Tags
General Discussions
Asked by
Saravana Kumar
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Saravana Kumar
Top achievements
Rank 1
Share this question
or