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

Custom theme for grid and chart?

1 Answer 21 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Maria
Top achievements
Rank 1
Maria asked on 16 Dec 2011, 10:00 PM
Hello,

can you please let me know what are the theme xaml files that need to be edited in order to get a custom look for

(1) the filtering popup in the gridView (that allows you to select which values of a column you want to filter), and
(2) the (horizontal) zoom/scroll bar in a chart

I'm following the example here (http://www.telerik.com/help/silverlight/common-styling-apperance-themes-custom-theme-project-telerik-approach.html) and for the grid can get most of it to look like the custom colours that I want, but the filtering popup still seems to have a default look. I've tried the FilteringControl and DistrinctFilterControl files, but no success so far. Or is it that I need to set the theme for the filtering popup separately from setting the theme for the grid itself? (if so, can you please let me know where/how to set that).

Thank you.

Maria

1 Answer, 1 is accepted

Sort by
0
Sia
Telerik team
answered on 20 Dec 2011, 08:58 AM
Hi Maria,

Regarding your question about RadGridView indeed you should modify the FilteringControl.xaml, however I am not quite sure what might be the reason for this behavior. Would it be possible to send us a small runnable project with this theme as an attachment in a new support ticket? We may take a look at it and we would be able to provide you with an appropriate solution.  

In order to get your chart styled properly, you need to edit the chart.xaml file in your custom theme. Please follow the instructions explained in this help topic. The element which represents the horizontal scroll bar is actually a customized RadSlider and the style which needs to be edited is:

<Style x:Key="CustomSlider" TargetType="telerikControls:RadSlider">
...
</Style>

All the best, Sia
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
GridView
Asked by
Maria
Top achievements
Rank 1
Answers by
Sia
Telerik team
Share this question
or