Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <SwitchCell Text="Save" />
- <?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:local="clr-namespace:Tree"
- x:Class="Tree.MainPage"
- Title="Geneological Tree">
- <!--<ContentView Padding="40">
- Place new controls here
- <Button
- x:Name="bSignUp"
- Text="SIGN UP"
- VerticalOptions="EndAndExpand"
- HorizontalOptions="FillAndExpand"
- Clicked="OnButtonClicked"
- TextColor="White"
- FontSize="Medium"
- BackgroundColor="LightSeaGreen"/>
- </ContentView>-->
- <TableView>
- <TableView.Root>
- <TableRoot>
- <TableSection Title="Personal information">
- <EntryCell Label="Name:" Keyboard="Default" Placeholder="enter your name" />
- <EntryCell Label="Surname:" Keyboard="Default" Placeholder="enter your surname" />
- <EntryCell Label="Sex:" Keyboard="Default" Placeholder="enter your sex" />
- <EntryCell Label="Birthday:" Keyboard="Default" Placeholder="enter your birthday" />
- <SwitchCell Text="Save" />
- </TableSection>
- </TableRoot>
- </TableView.Root>
- </TableView>
- </ContentPage>
- <?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:local="clr-namespace:Tree"
- x:Class="Tree.MainPage"
- Title="Geneological Tree">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="auto" />
- <RowDefinition />
- </Grid.RowDefinitions>
- <ContentView Padding="40">
- <Button
- x:Name="bSignUp"
- Text="SIGN UP"
- VerticalOptions="EndAndExpand"
- HorizontalOptions="FillAndExpand"
- Clicked="OnButtonClicked"
- TextColor="White"
- FontSize="Medium"
- BackgroundColor="LightSeaGreen"/>
- </ContentView>
- <TableView Grid.Row="1">
- <TableView.Root>
- <TableRoot>
- <TableSection Title="Personal information">
- <EntryCell Label="Name:" Keyboard="Default" Placeholder="enter your name" />
- <EntryCell Label="Surname:" Keyboard="Default" Placeholder="enter your surname" />
- <EntryCell Label="Sex:" Keyboard="Default" Placeholder="enter your sex" />
- <EntryCell Label="Birthday:" Keyboard="Default" Placeholder="enter your birthday" />
- <SwitchCell Text="Save" />
- </TableSection>
- </TableRoot>
- </TableView.Root>
- </TableView>
- </Grid>
- </ContentPage>
Add Comment
Please, Sign In to add comment