Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@juucustodio
Created June 14, 2017 01:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juucustodio/a12daf2106b1379fe1ad5ed1b4c9616f to your computer and use it in GitHub Desktop.
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
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