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

ThemeResolution Service Usage

1 Answer 83 Views
Themes and Visual Style Builder
This is a migrated thread and some comments may be shown as answers.
Alcatraz
Top achievements
Rank 1
Alcatraz asked on 16 Apr 2010, 06:39 PM
Hi,

It would be really great if you could share me a sample project in which the Themeresolution service is implemented which is going to use multiple theme files.

i.e  I have seperate theme files created for each of controls like textbox, button, grid etc.  How do i set them to a component such that it can be used across the application?

Thanks
Kris

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 22 Apr 2010, 06:15 PM
Hi KrisYs,

Thank you for the question.

TheThemeResolutionService.ApplicationThemeName sets the ThemeName of all controls to one and the same value. It does not set ThemeName per control type basis.

When you create custom themes for different controls, you should load these themes in your applications by following the instruction provided in this article. When you later set the ThemeResolutionService.ApplicationThemeName to the custom ThemeName value, all controls that have custom themes will be styled accordingly. If there are other controls which do not have custom themes defined, they will be styled in the ControlDefault theme.

I hope that this information is helpful. In case there are any specific questions about our theming mechanism, feel free to contact us back.

All the best,
Nikolay
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Themes and Visual Style Builder
Asked by
Alcatraz
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or