<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:xuni="clr-namespace:Xuni.Forms.Gauge;assembly=Xuni.Forms.Gauge"
             x:Class="Gauges101.GettingStarted" x:Name="page"
             Padding="20">
  <StackLayout>
    <Label BindingContext="{x:Reference page}" Text="{Binding Title}" IsVisible="{StaticResource TitleVisible}" HorizontalOptions="Center" Font="Large"/>
    <StackLayout Orientation="Horizontal">
      <Label Text="Value" VerticalOptions="Center"/>
      <Label x:Name="ValueLabel" Text="" VerticalOptions="Center"/>
      <Stepper x:Name="ValueStepper" Value="{Binding Value,Mode=TwoWay}" Increment="25" HorizontalOptions="EndAndExpand"/>
    </StackLayout>
    <Label Text="LinearGauge"/>
    <xuni:XuniLinearGauge Value="{Binding Value,Mode=TwoWay}" IsReadOnly="{Binding IsReadOnly}" ShowText="{Binding ShowText}"/>
    <Label Text="BulletGraph"/>
    <xuni:XuniBulletGraph Value="{Binding Value,Mode=TwoWay}" IsReadOnly="{Binding IsReadOnly}" ShowText="{Binding ShowText}" Good="80" Bad="45" Target="90"/>
    <Label Text="RadialGauge"/>
    <xuni:XuniRadialGauge Value="{Binding Value,Mode=TwoWay}" IsReadOnly="{Binding IsReadOnly}" ShowText="{Binding ShowText}"/>
  </StackLayout>
</ContentPage>