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

Themes not applied to pivot?

5 Answers 123 Views
PivotGrid
This is a migrated thread and some comments may be shown as answers.
Guru
Top achievements
Rank 2
Guru asked on 24 Jan 2013, 11:13 PM
Is there not a way to use global themes with pivot grid and field list?

In our main app we use gridview, datafilter, combobox, docking, ribbonview, charts, treeview, more... and by referencing global themes like expression_dark, window7,windows8 etc... (we converted everything recently to noxaml and implicit styling like suggested) everything looks very nice and consistent (even native textbox and others get themed) but once we added a pivot chart and field list it doesn't use the themes and looks totally out of place. With all of the complexities of our application logic and routines I was hoping not to have to write a ton of xaml styling to get pivot into our app and look like it is a part of it. Right now I create a new dock tab and insert a pivot into it in expression_dark theme active and you can't even read the text (light grey) on a white background.

Any plans for a Telerik.Windows.Controls.Pivot.xaml file?

5 Answers, 1 is accepted

Sort by
0
Accepted
Rosen Vladimirov
Telerik team
answered on 25 Jan 2013, 12:04 PM
Hello Zack,

Currently RadPivotGrid has only BETA release and that's why the changing of themes is not applied to this control. Of course this feature will be available with our official release in the end of February.
But there's no need to write a lot of code to modify RadPivotGrid. We have added a functionality that will help you to modify RadPivotGrid with only a few lines - it is called QuickStyles. You can check our online demo (same is available for WPF) how to define and use QuickStyles to modify your RadPivotGrid.

We are sorry for the caused inconvenience. Hopefully this helps. Feel free to contact us if you have any problems or concerns. 

Regards,
Rosen Vladimirov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Guru
Top achievements
Rank 2
answered on 28 Jan 2013, 04:06 PM
Thanks, I will check out quickstyles and am looking forward to official release with theming.
0
Brett
Top achievements
Rank 1
answered on 01 Dec 2015, 04:37 PM

Hi Rosen -

It is my understanding that the RadPivotGrid now supports theming with the StyleManager. I am trying to set the Windows 7 theme through XAML, but am unable to do so. I am following the instructions provided here: http://docs.telerik.com/devtools/wpf/styling-and-appearance/stylemanager/common-styling-apperance-setting-theme-wpf.

However, when I add the "xmlns:telerikControls" namespace, I don't see any attached property called "StyleManager.Theme" through IntelliSense. I am able to set the theme within the code-behind, but I would really rather do so in the XAML.

Can you offer any guidance?

Best,

Brett

0
Nasko
Telerik team
answered on 02 Dec 2015, 01:28 PM
Hi Brett,

We tested the described by you approach of applying the theme using the StyleManager (in Xaml) and it seems everything works as expected on our side.

Please, check the attached sample that demonstrates how the style gets applied using the StyleManager.

Hope this helps. 

Regards,
Nasko
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
0
Brett
Top achievements
Rank 1
answered on 02 Dec 2015, 02:52 PM

Hi Nasko -

You are right, this does work as expected. I was not seeing the StyleManager as an option when typing in IntelliSense, so I figured it wasn't available. When typing out the whole thing, it worked like a charm.

Thanks for the help!

Best,
Brett

Tags
PivotGrid
Asked by
Guru
Top achievements
Rank 2
Answers by
Rosen Vladimirov
Telerik team
Guru
Top achievements
Rank 2
Brett
Top achievements
Rank 1
Nasko
Telerik team
Share this question
or