demo-xf-app-1a/MobileApp1/Views/LoginPage.xaml

31 lines
1.3 KiB
XML

<?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:Selector="clr-namespace:MobileApp1.Models" xmlns:views="clr-namespace:MobileApp1.Views"
x:Class="MobileApp1.Views.LoginPage"
NavigationPage.HasNavigationBar="False">
<ContentPage.Content>
<StackLayout Margin="20">
<views:CompanyHeaderView />
<CarouselView IndicatorView="indicatorView1" x:Name="carouselView1" Margin="0, 0, 0, 10">
<CarouselView.ItemsSource>
<x:Array Type="{x:Type ContentView}">
<views:LoginView />
<views:PasswordResetView />
<views:AboutView />
</x:Array>
</CarouselView.ItemsSource>
<CarouselView.ItemTemplate>
<DataTemplate>
<ContentView Content="{Binding .}" />
</DataTemplate>
</CarouselView.ItemTemplate>
</CarouselView>
<IndicatorView
x:Name="indicatorView1"
MaximumVisible="6"
Margin="0, 0, 0, 20" />
</StackLayout>
</ContentPage.Content>
</ContentPage>