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

Visual Style Builder - Panorama

1 Answer 71 Views
Panorama
This is a migrated thread and some comments may be shown as answers.
jesse
Top achievements
Rank 1
jesse asked on 17 Oct 2015, 11:34 PM

When trying to create a custom theme for a Panorama, I can import the xml into the theme manager, but it does not show up.  I've done this with other control (buttons for example) and it works.  I've found that some control require some "Base" controls to also be themed, but I haven't found any documentation as to a hierarchy of requirements for a control to work.

 Is there such a list, and if not, can someone at least tell me what control I need to theme in order to get a RadPanorama to accept my custom theme.  Mostly this is simply to get it to use my custom scrollbar (which *has* been themed).

 Thanks.

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 21 Oct 2015, 08:33 AM
Hi Jesse,

Thank you for writing.

You should create a single theme and set the styles for the scrollbar and the panorama control in it (see attached image). Then you can just load the theme and apply it to the panorama. I have attached a small sample to show you how this works (I have just changed a few properties in the panorama and the scrollbar)

In addition, the easiest approach for creating a theme would be to extract the predefined themes and see how they are created and which properties are changed in them. More information about this is available in the following articles:
I hope this helps. Should you have any other questions do not hesitate to ask.
 
Regards,
Dimitar
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
Panorama
Asked by
jesse
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or