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

Saving Color Blending as Theme Package

1 Answer 57 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Leland
Top achievements
Rank 1
Leland asked on 14 May 2010, 04:41 PM
I have a custom theme based on the Desert Theme. However, when alternating Grid Row Colors are enabled the color is the base orange and I cannot find that anywhere in the VSB. If I load the theme package in my application and do color blending then I can control the orange row color, but I would like to save the change back as theme package, so could you help me with one or the other of my two issues:

  1. Direct me in altering the theme so the alternating row is not orange in the theme package.
  2. Direct me to the equivalent save process for the LoadPackageResource

If you need an example please let me know

1 Answer, 1 is accepted

Sort by
0
Victor
Telerik team
answered on 20 May 2010, 12:24 PM
Hi Leland,

Thank you for writing.

The color blending mechanism is not available in the Visual Style Builder, it is available only during the run-time of your application. In order to control the alternating row color you have to set the AlternatingRowColor property of the TableElement. In order to find the property first you must remove the property filter from the menu (see scr1.jpg). When you remove the filter you should see the property (scr2.jpg).

As to your second question - saving theme packages is available only from Visual Style Builder, it is not exposed as a public API.

I hope this information is useful. Do not hesitate to contact us if you have other questions.

Sincerely yours,
Victor
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
General Discussions
Asked by
Leland
Top achievements
Rank 1
Answers by
Victor
Telerik team
Share this question
or