Last active
June 14, 2017 01:42
-
-
Save juucustodio/371ae1729617510711e5e968fe8c2304 to your computer and use it in GitHub Desktop.
IndicadoresPage.xaml from the project https://github.com/juucustodio/CarouselView-Xamarin.Forms
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" | |
xmlns:local="clr-namespace:DemoCarouselView" | |
xmlns:forms="clr-namespace:Xamarin.Forms;assembly=Xamarin.Forms.CarouselView" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
x:Class="DemoCarouselView.IndicadoresPage"> | |
<StackLayout> | |
<forms:CarouselView x:Name="ImageCarouselView" Position="{Binding Position, Mode=TwoWay}" | |
ItemsSource="{Binding ListaImagens}" > | |
<forms:CarouselView.ItemTemplate> | |
<DataTemplate> | |
<Image Source="{Binding .}"/> | |
</DataTemplate> | |
</forms:CarouselView.ItemTemplate> | |
</forms:CarouselView> | |
<local:IndicadoresCarousel x:Name="Indicadores" IndicatorHeight="16" IndicatorWidth="16" | |
UnselectedIndicator="naoSelecionado.png" SelectedIndicator="selecionado.png" | |
Position="{Binding Position}" ItemsSource="{Binding ListaImagens}" /> | |
</StackLayout> | |
</ContentPage> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment