<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:vistaCopy="clr-namespace:VistaThemeCopy"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
    xmlns:carousel="clr-namespace:Telerik.Windows.Controls.Carousel;assembly=Telerik.Windows.Controls.Navigation"
    xmlns:local="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation">
    
    
	
	<ControlTemplate x:Key="CarouselDataRecordPresenterTemplate" TargetType="{x:Type local:CarouselDataRecordPresenter}">
		<ControlTemplate.Resources>
			<Style TargetType="{x:Type ScrollBar}" >
			</Style>
			<Style TargetType="{x:Type local:CarouselScrollViewer}" BasedOn="{StaticResource {telerik:ThemeResourceKey ThemeType=vistaCopy:VistaThemeCopyTheme, ElementType=ScrollViewer}}" >
				<Setter Property="VerticalScrollBarVisibility" Value="Auto"/>
			</Style>
		</ControlTemplate.Resources>
		<local:CarouselScrollViewer>
			<ItemsControl ItemsSource="{Binding Path=FieldDescriptors, RelativeSource={RelativeSource AncestorType={x:Type local:RadCarousel}}}" Background="Transparent" ClipToBounds="True">
				<ItemsControl.ItemTemplate>
					<DataTemplate>
						<local:CarouselDataFieldPresenter 
                            Data="{Binding DataContext, RelativeSource={RelativeSource AncestorType=local:CarouselDataRecordPresenter}}" />
					</DataTemplate>
				</ItemsControl.ItemTemplate>
			</ItemsControl>
		</local:CarouselScrollViewer>
	</ControlTemplate>

	<Style x:Key="{telerik:ThemeResourceKey ThemeType=vistaCopy:VistaThemeCopyTheme, ElementType=local:CarouselDataRecordPresenter}" TargetType="{x:Type local:CarouselDataRecordPresenter}">
		<Setter Property="Template" Value="{StaticResource CarouselDataRecordPresenterTemplate}" />
	</Style>
	
	

</ResourceDictionary>
