Custom themes for 2011 Q3 Gauge

5 posts, 0 answers
  1. Max
    Max avatar
    3 posts
    Member since:
    Sep 2011

    Posted 18 Nov 2011 Link to this post

    Hi all!

    I have successfully implemented custom themes (telerik approach) for 2011 Q2 version
    of gauges in VS 2010. I was using "Creating and applying a custom theme for RadScheduler for WPF" as help.

    Yesterday I installed 2011 Q3 RAD controls and tried to implement new gauges and they are looking
    beautiful and are working fine. I also created another custom theme project for new gauges, but I'm
    having problems with resources files :( I used templates from Telerik theme samples.
    I tried different approaches defining Resources in custom themes library. But I was either getting error
    "invalid ThemeType" or "Cannot locate resource 'themes/gauge/customdarkq3/styles.xaml'".

    Has procedure for custom themes changed for Q3 version of controls? I noticed there are now 2
    gauges xaml files (Gauge.xaml and Gauge_New.xaml). Any suggestion on how to approach this problem?

    Regards, Max

  2. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 23 Nov 2011 Link to this post

    Hello Max,

    I have created a sample solution which implements a custom theme for the new gauge control using the instructions of the article. I have used the Gauge_New.xaml file as a base file for the Generic.xaml of the custom theme project. It works as expected.

    I have attached the sample solution. I hope it helps.

    All the best,
    Andrey Murzov
    the Telerik team

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

  3. UI for WPF is Visual Studio 2017 Ready
  4. Max
    Max avatar
    3 posts
    Member since:
    Sep 2011

    Posted 23 Nov 2011 Link to this post

    Hello Andrey,

    I tested your solution and it works fine for Radial Gauge-s, but it's not working for
    Vertical or Horizontal linear gauge :(
    I'm not very experienced with WPF so I wasn't able to find missing settings in generic.xaml.
    Can you please check it yourself and see what is missing?

    Thanks for all the help!

    Kind regards, Max
  5. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 25 Nov 2011 Link to this post

    Hello Max,

    Unfortunately there is a problem with the use of custom themes in linear gauge types. We already have the PITS issue on changing the theming mechanism. You can track its implementation using the following link:
    http://www.telerik.com/support/pits.aspx#/public/silverlight/8593

    All the best,
    Andrey Murzov
    the Telerik team

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

  6. Max
    Max avatar
    3 posts
    Member since:
    Sep 2011

    Posted 28 Nov 2011 Link to this post

    Hello Andrey,

    thanks for your reply. I'll track the issue and hope that you'll be able to resolve it soon!

    Good luck :)

    Kind regards, Max
Back to Top
UI for WPF is Visual Studio 2017 Ready