Themes not applied to pivot?

6 posts, 1 answers
  1. Zack
    Zack avatar
    112 posts
    Member since:
    Jun 2012

    Posted 24 Jan 2013 Link to this post

    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?
  2. Answer
    Rosen Vladimirov
    Admin
    Rosen Vladimirov avatar
    640 posts

    Posted 25 Jan 2013 Link to this post

    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.

  3. UI for WPF is Visual Studio 2017 Ready
  4. Zack
    Zack avatar
    112 posts
    Member since:
    Jun 2012

    Posted 28 Jan 2013 Link to this post

    Thanks, I will check out quickstyles and am looking forward to official release with theming.
  5. Brett
    Brett avatar
    10 posts
    Member since:
    Dec 2013

    Posted 01 Dec 2015 Link to this post

    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

  6. Nasko
    Admin
    Nasko avatar
    585 posts

    Posted 02 Dec 2015 Link to this post

    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
  7. Brett
    Brett avatar
    10 posts
    Member since:
    Dec 2013

    Posted 02 Dec 2015 in reply to Nasko Link to this post

    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

Back to Top
UI for WPF is Visual Studio 2017 Ready