<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             x:Class="XamarinStudy.Views.SampleElementPage1">
    <ContentPage.Content>
        <StackLayout>
            <Button x:Name="chageBackgroundColorButton" Text="Change background color" TextColor="White" BackgroundColor="Salmon" BorderWidth="15" CornerRadius="50" Clicked="chageBackgroundColorButton_Clicked">
                
            </Button>
            <Label x:Name="lbl1" Text="This is Lable" TextColor="DarkSlateBlue" BackgroundColor="LightPink" FontSize="Large" FontAttributes="Bold"/>
            <!--<Label Text="This is Lable" TextColor="DarkSlateBlue" BackgroundColor="LightPink" FontSize="Large" FontAttributes="Bold" HorizontalTextAlignment="End"/>-->
            <!--<Label Text="This is Lable" TextColor="DarkSlateBlue" BackgroundColor="LightPink" FontSize="Large" FontAttributes="Bold" HorizontalTextAlignment="Start"/>-->
            <!--<Label Text="This is Lable" TextColor="DarkSlateBlue" BackgroundColor="LightPink" FontSize="Large" FontAttributes="Italic" HorizontalTextAlignment="Center"/>-->
            <!--<Label Text="This is 30 Lable" TextColor="Red" BackgroundColor="LightPink" FontSize="30" HorizontalTextAlignment="Center"/>-->

            <Entry x:Name="entryText" Placeholder="Input Text" TextColor="Salmon" FontSize="Large" FontAttributes="Bold" Keyboard="Text"/>
            <Entry x:Name="entryNum" Placeholder="Input Number" BindingContext="{x:Reference stepper1}" TextColor="Red" FontSize="{Binding Value}" FontAttributes="Bold" Keyboard="Numeric"/>
            <Editor x:Name="editor" Placeholder="Input Message" BindingContext="{x:Reference slider1}" Rotation="{Binding Value}" TextColor="Red" BackgroundColor="{OnPlatform Android=Blue,UWP=White}" FontSize="{Binding Value}" FontAttributes="Bold" HeightRequest="100"/>

            <Slider x:Name="slider1" Maximum="100" Minimum="0" Value="0" MinimumTrackColor="Salmon" MaximumTrackColor="DarkRed"/>
            <Stepper x:Name="stepper1" Maximum="50" Minimum="5" Increment="5" Value="20" ValueChanged="stepper1_ValueChanged"/>
            <ProgressBar x:Name="pb1" ProgressColor="Orange"/>
            <ProgressBar x:Name="pb2" ProgressColor="Red"/>
            <ProgressBar x:Name="pb3" ProgressColor="Green"/>
            <SearchBar x:Name="searchBar" Placeholder="Search" TextChanged="searchBar_TextChanged"/>
            <Switch x:Name="switch" ThumbColor="Tomato" OnColor="Gray" IsToggled="True" HorizontalOptions="StartAndExpand" Toggled="switch_Toggled"/>
            <CheckBox x:Name="checkBox" Color="CornflowerBlue" CheckedChanged="checkBox_CheckedChanged"/>
        </StackLayout>
    </ContentPage.Content>
</ContentPage>