<?xml version="1.0" encoding="utf-8"?>
<UserControl x:Class="GaugeSamples.SpeedometerGauge" 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="AnimateSpeed">
            <DoubleAnimationUsingKeyFrames RepeatBehavior="Forever" BeginTime="00:00:00" Duration="00:00:10" AutoReverse="True" Storyboard.TargetName="myGauge" Storyboard.TargetProperty="(c1Gaugeauge.Value)">
                <SplineDoubleKeyFrame KeyTime="00:00:10.00" Value="100" KeySpline="0,0,1,0" />
            </DoubleAnimationUsingKeyFrames>
        </Storyboard>

    </UserControl.Resources>
    
    <c1:C1SpeedometerGauge x:Name="myGauge" Height="300" Value="0">
        <c1:C1GaugeMark Interval="20" />
        <c1:C1GaugeMark Interval="10" />
        <c1:C1GaugeMark Interval="5" />
        <c1:C1GaugeLabel Interval="20" Alignment="In" AlignmentOffset="10" />
    </c1:C1SpeedometerGauge>

</UserControl>