<?xml version="1.0" encoding="utf-8"?>
<UserControl x:Class="GaugeSamples.RadialGauge" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:c1="http://schemas.componentone.com/winfx/2006/xaml">

    <UserControl.Resources>
        <Storyboard x:Name="AnimateRadial">
            <DoubleAnimationUsingKeyFrames RepeatBehavior="Forever" BeginTime="00:00:00" Duration="00:00:08" AutoReverse="True" Storyboard.TargetName="myGauge" Storyboard.TargetProperty="(c1Gaugeauge.Value)">
                <SplineDoubleKeyFrame KeyTime="00:00:8.00" Value="0" KeySpline="0,0,1,0" />
            </DoubleAnimationUsingKeyFrames>
        </Storyboard>
    </UserControl.Resources>
    
    <c1:C1RadialGauge x:Name="myGauge" Height="300" Value="100" StartAngle="0" SweepAngle="300">
        <c1:C1GaugeRange To="40" Location="0.8" Fill="Green" Stroke="Black" StrokeThickness="1" Width="0.2" Opacity="0.6" />
        <c1:C1GaugeRange From="75" Fill="DarkRed" Location="0.9" EndWidth="0.2" Stroke="Black" StrokeThickness="1" Opacity="0.4" />
        <c1:C1GaugeMark Interval="20" />
        <c1:C1GaugeMark Interval="10" />
        <c1:C1GaugeMark Interval="1" />
        <c1:C1GaugeLabel Interval="20" Alignment="In" AlignmentOffset="10" />
    </c1:C1RadialGauge>

</UserControl>