<Page xmlns:local="clr-namespace:ForzaUI"
      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" 
	  xmlns:System="clr-namespace:System;assembly=mscorlib"
	  x:Class="ForzaUI.Scenes.Anthem.PostRaceCreditsPlaceholder" 
      mc:Ignorable="d"
	  Style="{StaticResource A_Style_Page_Generic}"
      DataContext="{Binding RelativeSource={RelativeSource Self}}">

    <Page.Resources>
		<Style x:Key="A_Style_TextBlock_ScreenTitle_Placeholder" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource A_Style_TextBlock_Title}" />
		<Style x:Key="A_Style_TextBlock_InactiveTitle_Placeholder" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource A_Style_TextBlock_SubHeading_Button}" >
		</Style>
    </Page.Resources>

	<local:ZPanel x:Name="LayoutRoot" 
		Width="1280"
		Height="720" 
		HorizontalAlignment="Center"
		DataContext="{Binding Winnings}" >        
		
		<Grid Width="1280"
			Height="720"  >
            <Grid.ColumnDefinitions>
				<ColumnDefinition Width=".3*"/>
				<ColumnDefinition/>
				<ColumnDefinition Width=".3*"/>
			</Grid.ColumnDefinitions>
			<Grid.RowDefinitions>
				<RowDefinition Height=".3*"/>
				<RowDefinition/>
				<RowDefinition Height=".3*"/>
			</Grid.RowDefinitions>

			<Grid Grid.Column="1" HorizontalAlignment="Left" VerticalAlignment="Center">
				<local:FZMaterial Style="{StaticResource A_Style_FZMaterial_ScreenTitle_Background}" />

				<TextBlock Text="{local:Loc ScreenTitles.IDS_PostRaceCreditRewards}" Style="{StaticResource A_Style_TextBlock_ScreenTitle_Placeholder}" Margin="15,0">
					<TextBlock.Foreground>
						<SolidColorBrush Color="{StaticResource A_Color_ScreenTitle_Text}"/>
					</TextBlock.Foreground>
				</TextBlock>
			</Grid>
		
			<Grid Grid.Column="2" Grid.Row="2" HorizontalAlignment="Left" VerticalAlignment="Center">
				<local:FZMaterial Style="{StaticResource A_Style_FZMaterial_InactiveTitle_Background}" />

				<TextBlock Text="Placeholder" Style="{StaticResource A_Style_TextBlock_InactiveTitle_Placeholder}" Margin="15,0">
					<TextBlock.Foreground>
						<SolidColorBrush Color="{StaticResource A_Color_InactiveTitle_Text}"/>
					</TextBlock.Foreground>\
				</TextBlock>
			</Grid>

			<Grid Grid.Column="1" Grid.Row="1">
				<local:FZMaterial Style="{StaticResource A_Style_FZMaterial_InactiveTitle_Background}" />
			</Grid>

			<Grid x:Name="Grid_Stats" Grid.Column="1" Grid.Row="1">
    			<Grid.RowDefinitions>
    				<RowDefinition Height="Auto" MinHeight="64"/>
    				<RowDefinition Height="Auto" MinHeight="64"/>
    				<RowDefinition Height="Auto" MinHeight="64"/>
    				<RowDefinition/>
    			</Grid.RowDefinitions>
					
    			<TextBlock x:Name="TextBlock_CreditsWonLabel" Grid.Row="0" Margin="15,10,15,0" Text="Credits Won" Style="{StaticResource A_Style_TextBlock_InactiveTitle_Placeholder}"/>
    			<TextBlock x:Name="TextBlock_CreditsWon" Grid.Row="0" Margin="15,50,15,10" Text="{Binding BaseCredits}" Style="{StaticResource A_Style_TextBlock_InactiveTitle_Placeholder}"/>

    			<TextBlock x:Name="TextBlock_AssistsBonusLabel" Grid.Row="1" Margin="15,10,15,0" Text="Assists Bonus" Style="{StaticResource A_Style_TextBlock_InactiveTitle_Placeholder}"/>
    			<TextBlock x:Name="TextBlock_AssistsBonus" Grid.Row="1" Margin="15,50,15,10" Text="{Binding AssistsBonusCredits}" Style="{StaticResource A_Style_TextBlock_InactiveTitle_Placeholder}"/>

    			<TextBlock x:Name="TextBlock_RewindBonusLabel" Grid.Row="2" Margin="15,10,15,0" Text="Rewind Bonus" Style="{StaticResource A_Style_TextBlock_InactiveTitle_Placeholder}"/>
    			<TextBlock x:Name="TextBlock_RewindBonus" Grid.Row="2" Margin="15,50,15,10" Text="{Binding RewindBonusCredits}" Style="{StaticResource A_Style_TextBlock_InactiveTitle_Placeholder}"/>

    			<TextBlock x:Name="TextBlock_TotalCreditsLabel" Grid.Row="3" Margin="15,10,15,0" Text="Total Credits" Style="{StaticResource A_Style_TextBlock_InactiveTitle_Placeholder}"/>
    			<TextBlock x:Name="TextBlock_TotalCredits" Grid.Row="3" Margin="15,50,15,10" Text="{Binding TotalCredits}" Style="{StaticResource A_Style_TextBlock_InactiveTitle_Placeholder}"/>

				<TextBlock.Foreground>
						<SolidColorBrush Color="{StaticResource A_Color_InactiveTitle_Text}"/>
				</TextBlock.Foreground>
    			
			</Grid>

        </Grid>
	</local:ZPanel>
</Page>
