Setting Background Color

2 posts, 0 answers
  1. RamonKW
    RamonKW avatar
    1 posts
    Member since:
    Jan 2009

    Posted 06 Jan 2009 Link to this post

    I am trying out the Linear Rad Guage control and am trying to change the background color of the entire control from the default red gradient color.  I seem to be able to control everything else related to the guage but have not found how to change the color of the entire control.  It looks like the best way is to edit the template.  Am I missing something? 
  2. Giuseppe
    Giuseppe avatar
    2363 posts

    Posted 09 Jan 2009 Link to this post

    Hi RamonKW,

    Your observations are correct -- currently it is not possible to change the gauge background via simple property setter. You need to customize the LinearGauge template in order to achieve the desired effect as the background is implemented via Path (that enables drawing of curves and complex shapes).

    Alternatively, you can use one of the other two predefined themes (Office_Black, Vista). You can find attached a sample application that demonstrates both approaches to get you started. Also, you can find more information on gauge layout composition here.

    Hope this helps.

    Best wishes,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. DevCraft R3 2016 release webinar banner
Back to Top