Edit this page

Loading themes created with the old VSB

Overview

Some of you have probably created custom themes for Telerik UI for for WinForms using the old Visual Style Builder. The old and the new Visual Style Builder use different styling mechanisms, so the old themes cannot be edited in the new version. However, we created a service which allows you to load the style settings created in the old VSB and convert them to Repository Items. This will save you time, because you will not have to create new repository items yourself.

Loading an old theme

In the following example we will demonstrate how repository items are created based on the style settings of an old theme. Let's say we have XML theme files created for the whole Telerik UI for for WinForms suite and the ThemeName of the XML files is Desert. We should load these files by choosing the Open Directory/Open option: 

tools-visual-style-builder-working-with-visual-style-builder-loading-themes-created-with-the-old-vsb 001

When you try to load old themes, you will be notified that these themes are not compatible with the new theming mechanism:

tools-visual-style-builder-working-with-visual-style-builder-loading-themes-created-with-the-old-vsb 002

After you press OK to confirm, you will have to choose which of the possible repository items should be loaded in Visual Style Builder:

tools-visual-style-builder-working-with-visual-style-builder-loading-themes-created-with-the-old-vsb 003

Finally, the desired repository items are loaded in Visual Style Builder:

tools-visual-style-builder-working-with-visual-style-builder-loading-themes-created-with-the-old-vsb 004

See Also

Was this article helpful? Yes No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy