Created
June 14, 2017 01:39
-
-
Save juucustodio/a12daf2106b1379fe1ad5ed1b4c9616f to your computer and use it in GitHub Desktop.
Code-Behind of 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
using System.Collections.Generic; | |
using System.ComponentModel; | |
using Xamarin.Forms; | |
namespace DemoCarouselView | |
{ | |
public partial class IndicadoresPage : ContentPage, INotifyPropertyChanged | |
{ | |
public IndicadoresPage() | |
{ | |
InitializeComponent(); | |
ListaImagens = new List<string> | |
{ | |
"foto1.jpg", | |
"foto2.jpg", | |
"foto3.jpg" | |
}; | |
BindingContext = this; | |
} | |
public List<string> ListaImagens { get; set; } | |
private int _position; | |
public int Position { get { return _position; } set { _position = value; OnPropertyChanged(); } } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment