<UserControl x:Class="AdRotatorExampleWithCoverFlow.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
    xmlns:adRotator="clr-namespace:AdRotatorExtensions;assembly=AdRotatorExtensions"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400">

	<Grid x:Name="LayoutRoot" Background="Black">
		<telerik:RadCoverFlow CameraViewpoint="Center" Grid.Row="1"
							  VerticalAlignment="Center" HorizontalAlignment="Center"
							  adRotator:AdRotatorExtensions.ItemChangeDelay="0:0:3" 
							  adRotator:AdRotatorExtensions.CurrentSelectedIndex="{Binding SelectedIndex, RelativeSource={RelativeSource Self}, Mode=TwoWay}">
			<telerik:RadCoverFlow.ItemContainerStyle>
				<Style TargetType="ContentControl">
					<Setter Property="Width" Value="500" />
				</Style>
			</telerik:RadCoverFlow.ItemContainerStyle>
			<adRotator:AdRotatorExtensions.ItemsSource>
				<adRotator:AdsCollection>
					<Image Source="/Banners/1_AJAX_Slide.jpg" />
					<Image Source="/Banners/2_MVC_Slide.jpg" />
					<Image Source="/Banners/3_SL_Slide.jpg" />
					<Image Source="/Banners/4_WF_Slide.jpg" />
					<Image Source="/Banners/5_WPF_Slide.jpg" />
					<Image Source="/Banners/6_REP_Slide.jpg" />
					<Image Source="/Banners/7_ORM_Slide.jpg" />
					<Image Source="/Banners/8_JC_Slide.jpg" />
					<Image Source="/Banners/9_JM_Slide.jpg" />
				</adRotator:AdsCollection>
			</adRotator:AdRotatorExtensions.ItemsSource>
		</telerik:RadCoverFlow>
	</Grid>
</UserControl>
