<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.A_PreRaceCutsceneTrackName"
	Style="{StaticResource A_Style_Page_Generic}"
    mc:Ignorable="d"
    DataContext="{Binding RelativeSource={RelativeSource Self}}"
    >

    <Page.Resources>
        <Style x:Key="A_Style_Title_PreRaceCutscene" TargetType="local:FZTextBlock" BasedOn="{StaticResource A_Style_FZTextBlock_Title}" >
            <Setter Property="FontSize" Value="130"/>
        </Style>
        <Style x:Key="A_Style_Content_PreRaceCutscene" TargetType="local:FZTextBlock" BasedOn="{StaticResource A_Style_FZTextBlock_Title}" >
            <Setter Property="FontSize" Value="250"/>
        </Style>

        <ControlTemplate x:Key="A_Template_Section1" TargetType="ContentControl">
            <StackPanel>
                <local:FZTextBlock Text="{Binding Panel1Title}" Style="{StaticResource A_Style_Title_PreRaceCutscene}" Color="{StaticResource A_Color_PostRace_ARUI_Title}" Visibility="{Binding Panel1Title, Converter={StaticResource A_StringVisConverter}}" />
                <local:FZTextBlock Text="{Binding Panel1Content1}" Style="{StaticResource A_Style_Content_PreRaceCutscene}" Color="{StaticResource A_Color_PostRace_ARUI_Content}" Margin="0, -70, 0, 0" Visibility="{Binding Panel1Content1, Converter={StaticResource A_StringVisConverter}}" />
                <local:FZTextBlock Text="{Binding Panel1Content2}" Style="{StaticResource A_Style_Content_PreRaceCutscene}" Color="{StaticResource A_Color_PostRace_ARUI_Content}" Margin="0, -100, 0, 0" Visibility="{Binding Panel1Content2, Converter={StaticResource A_StringVisConverter}}" />
            </StackPanel>
        </ControlTemplate>

        <Storyboard x:Key="ShowStoryboard">
        </Storyboard>

        <Storyboard x:Key="HideStoryboard">
        </Storyboard>

    </Page.Resources>

    <local:EventFire.FzTriggers>
        <local:EventFireTrigger Event="show" Storyboard="{StaticResource ShowStoryboard}" />
        <local:EventFireTrigger Event="hide" Storyboard="{StaticResource HideStoryboard}" />
    </local:EventFire.FzTriggers>

    <Grid Margin="300, 0, 0, 0">
        <Viewbox VerticalAlignment="Center" StretchDirection="DownOnly" HorizontalAlignment="Left">
            <ContentControl HorizontalAlignment="Center" x:Name="Section1" Template="{StaticResource A_Template_Section1}" />
        </Viewbox>
    </Grid>
</Page>