Telerik Team:
How to create a single custom xml theme file for the following
1. Desert
2. Office 2010
3. Vista
Note: Now themes are creating a seperate xml file for an each controls.
I want all the controls theme in the single xml file. I am using "RadControls for WinForms Q1 2010 SP2".
Reply asp. Very urgent.
Thanks
How to create a single custom xml theme file for the following
1. Desert
2. Office 2010
3. Vista
Note: Now themes are creating a seperate xml file for an each controls.
I want all the controls theme in the single xml file. I am using "RadControls for WinForms Q1 2010 SP2".
Reply asp. Very urgent.
Thanks
4 Answers, 1 is accepted
0
Robert
Top achievements
Rank 1
answered on 22 Jun 2010, 06:51 PM
Hello Arul S V,
The latest version of Visual Style Builder actually includes an option that allows you to save several XML files as a single package (see attached screenshot). Once doing so, you can easily load this package into you application using the ThemeResolutionService.
ThemeResolutionService.LoadPackageFile("Desert.tssp"); |
ThemeResolutionService.ApplicationThemeName = "Desert"; |
- Robert
0
Arul S V
Top achievements
Rank 1
answered on 23 Jun 2010, 08:41 AM
Thanks for your reply.
Customer wants in the xml file format. Where they can edit the theme without VSB.
Any way i wrote a piece of code which will be converting all my xml theme files into a single xml theme file.
Format:-
<?xml version="1.0" encoding="utf-8"?>
<XmlTheme xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ThemeName="AliasDesert" ThemeVersion="2.0">
<StyleRepository>
<RepositoryItems>
</RepositoryItems>
</StyleRepository>
<BuilderRegistrations>
<XmlStyleBuilderRegistration> RadTextBox
</XmlStyleBuilderRegistration>
<XmlStyleBuilderRegistration> RadButton
</XmlStyleBuilderRegistration>
</BuilderRegistrations>
</XmlTheme>
Thanks.
0
PRITESH
Top achievements
Rank 1
answered on 03 Jul 2010, 11:36 PM
What is the best event on the form to place these calls to set the themes?
0
Hi PRITESH,
Please, review the provided documentation for the answers to your questions. The online version can be located here: Visual Style Builder Overview
Best wishes,
Vassil
the Telerik team
Please, review the provided documentation for the answers to your questions. The online version can be located here: Visual Style Builder Overview
Best wishes,
Vassil
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