<?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.SampleTableViewPage">
    <ContentPage.Content>
        <TableView Intent="Menu">
            <TableView.Root>
                <TableSection Title="TableView Test">
                    <TextCell Text="TextCell" Detail="Detail"/>
                    <TextCell Text="TextCell2" Detail="Detail2" TextColor="Orange" DetailColor="Salmon"/>
                    <SwitchCell Text="SwitchCell"/>
                    <EntryCell Label="Name" Placeholder="Your name" LabelColor="Red"/>
                    <EntryCell Label="Age" Placeholder="Your Age" LabelColor="Blue" Keyboard="Numeric"/>
                    <ImageCell Text="Image" Detail="Detail" ImageSource="{OnPlatform Android=droid.png, UWP=assets/droid.png}"/>
                    <ViewCell>
                        <StackLayout Orientation="Horizontal">
                            <Label Text="Label" FontSize="Large"/>
                            <CheckBox/>
                            <Button x:Name="button1" Text="Button" Clicked="button1_Clicked"/>
                        </StackLayout>
                    </ViewCell>
                </TableSection>
            </TableView.Root>
        </TableView>
    </ContentPage.Content>
</ContentPage>