<Page
    x:Class="GaugeSamples.RulerGauge"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:GaugeSamples"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:c1="using:C1.Xaml.Gauge"
    mc:Ignorable="d"
    >
    <Grid>
        <c1:C1RulerGauge x:Name="myGauge" Width="120"  
                              Orientation="Vertical" 
                              XAxisLocation="0.1" XAxisLength="0.8" YAxisLocation="0.5" Value="37" >
        <c1:C1GaugeMark Interval="20" />
        <c1:C1GaugeMark Interval="10" />
        <c1:C1GaugeMark Interval="5" />
        <c1:C1GaugeLabel Interval="20" Format="n0" Alignment="Out" AlignmentOffset="8"/>
        </c1:C1RulerGauge>
    </Grid>
</Page>
