<Page xmlns:local="clr-namespace:ForzaUI"
	  xmlns:System="clr-namespace:System;assembly=mscorlib"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008"  
	  x:Class="ForzaUI.Scenes.Anthem.A_DevImage"
      mc:Ignorable="d"
	  Style="{StaticResource A_Style_Page_Generic}"
      >
    <Page.Resources>
        <Storyboard x:Key="FadeOutAnim">
            <DoubleAnimationUsingKeyFrames Storyboard.TargetName="PART_Initial" Storyboard.TargetProperty="Opacity" >
                <EasingDoubleKeyFrame KeyTime="0:0:0" Value="1.0" />
                <EasingDoubleKeyFrame KeyTime="0:0:2" Value="1.0" />
                <EasingDoubleKeyFrame KeyTime="0:0:3" Value="0.0" />
            </DoubleAnimationUsingKeyFrames>
        </Storyboard>
    </Page.Resources>
    <Page.Triggers>
        <EventTrigger RoutedEvent="Binding.TargetUpdated">
            <BeginStoryboard Storyboard="{StaticResource FadeOutAnim}"/>
        </EventTrigger>
    </Page.Triggers>
    <Grid>
        <local:FZMaterial Color="Black" Preset="{StaticResource A_FZMaterialPreset_Unlit}" />
        <local:FZMaterial ImageSource="{Binding SelectedItem,ElementName=PART_Initial, NotifyOnTargetUpdated=True}" Preset="{StaticResource A_FZMaterialPreset_Unlit}" Stretch="Uniform" />
        <local:FZMaterialGlassCapture />
        <local:ItemsSelector Style="{StaticResource A_Style_Carousel7ItemList}"
                             VerticalAlignment="Bottom" 
                             Margin="0,0,0,10"
                             x:Name="PART_Initial" 
                             SelectedIndex="0">
            <local:ItemsSelector.ItemTemplate>
                <DataTemplate>
                    <local:FZMaterial x:Name="Icon"
                              ImageSource="{Binding}"
                              Preset="{StaticResource A_FZMaterialPreset_Unlit}"
                              Margin="10"
                              Stretch="Uniform" />
                </DataTemplate>
            </local:ItemsSelector.ItemTemplate>
            <System:String>/ForzaUI;component/Textures/Data_Bound/DevImages/TestScreen01.png</System:String>
            <System:String>/ForzaUI;component/Textures/Data_Bound/DevImages/TestScreen02.png</System:String>
            <System:String>/ForzaUI;component/Textures/Data_Bound/DevImages/TestScreen03.png</System:String>
            <System:String>/ForzaUI;component/Textures/Data_Bound/DevImages/TestScreen04.png</System:String>
            <System:String>/ForzaUI;component/Textures/Data_Bound/DevImages/TestScreen05.png</System:String>
            <System:String>/ForzaUI;component/Textures/Data_Bound/DevImages/BlackWhite.png</System:String>
        </local:ItemsSelector>
    </Grid>
</Page>
