summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core/CarouselPage.cs
blob: a6f769e5e6d6e3963695ce780dc78ad33b0bf12b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
using Xamarin.Forms.Platform;

namespace Xamarin.Forms
{
	[RenderWith(typeof(_CarouselPageRenderer))]
	public class CarouselPage : MultiPage<ContentPage>
	{
		protected override ContentPage CreateDefault(object item)
		{
			var page = new ContentPage();
			if (item != null)
				page.Title = item.ToString();

			return page;
		}
	}
}