Radial State Indicator

2 posts, 0 answers
  1. eSightEnergy
    eSightEnergy avatar
    7 posts
    Member since:
    Apr 2008

    Posted 10 Mar 2010 Link to this post


    Im having trouble setting the status of a State Indicator from the code behind, and I looked at one of your examples on the demo website using some sort of binding. Do you have any other example or any way of setting this from the code  behind as I am struggling to see how this is working.

    The code snippet I was following from the demo website (Gauge/Customisation/RadialScaleIndicators) is:

    <gauge:RadialRange Name="GoodState" Min="0" Max="80" StartWidth="0"  
        EndWidth="0" BorderBrush="Transparent">  
                <GradientStop Offset="0" Color="#FFFFCD00" />  
                <GradientStop Offset="1" Color="#FFFF8200" />  
    <gauge:RadialRange Name="BadState" Min="80" Max="100" StartWidth="0"  
        EndWidth="0" BorderBrush="Transparent">  
            <GradientStop Offset="0" Color="#FFFF5000" />  
            <GradientStop Offset="1" Color="#FFFF1400" />  
        <gauge:StateIndicator Name="stateIndicator" Left="0.45" Top="0.25"  
            RelativeWidth="0.2" RelativeHeight="0.2">  

  2. Andrey
    Andrey avatar
    1681 posts

    Posted 11 Mar 2010 Link to this post

    Hi Stephen,

    I have attached a solution that demonstrates using of state indicator via its Value property. Look at code of the timer_Tick method.

    Kind regards,
    Andrey Murzov
    the Telerik team

    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 Public Issue Tracking system and vote to affect the priority of the items.
  3. DevCraft R3 2016 release webinar banner
Back to Top