<Page x:Name="Page"
      x:Class="ForzaUI.A_DebugThumbnailEditorPopup"
      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:d="http://schemas.microsoft.com/expression/blend/2008" 
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      mc:Ignorable="d"
      DataContext="{Binding RelativeSource={x:Static RelativeSource.Self}}">

    <Page.Resources>
        <System:Double x:Key="A_Double_MaxSceneWidth">1920</System:Double>
        <System:Double x:Key="A_Double_MaxSceneHeight">1080</System:Double>
    </Page.Resources>

    <Grid>
        <local:FZMaterialGlassCapture />
        <local:FZMaterial Style="{StaticResource A_Style_FZMaterial_Popup_Background}"/>

        <ContentControl x:Name="BottomBar" Style="{StaticResource A_Style_ButtonBar}">
            <ContentControl x:Name="DefaultHelpPanel"
				    local:ControllerButtonPanel.BDescription="{local:Loc HelpButtons.IDS_Cancel}"
				    Style="{StaticResource A_Style_ContentControl_DefaultButtonBar}" />
        </ContentControl>

        <Border x:Name="LayoutRoot" Style="{StaticResource A_Style_Border_ScenePadding}">
            <Grid x:Name="Grid_DialogContainer" MinWidth="700" MaxWidth="1004" MaxHeight="888" HorizontalAlignment="Center" VerticalAlignment="Center">
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="4"/>
                    <RowDefinition/>
                </Grid.RowDefinitions>
                <local:FZTextBlock x:Name="Control_Header" Text="GENERATING THUMBNAILS" Style="{StaticResource A_Style_FZTextBlock_ScreenTitleBlockText}" Color="{StaticResource A_Color_Header_Text}" />
                <Grid x:Name="Grid_Body" Grid.Row="2">
                	<Grid.RowDefinitions>
                		<RowDefinition Height="Auto"/>
                		<RowDefinition Height="4"/>
                        <RowDefinition Height="Auto"/>
                	</Grid.RowDefinitions>
                	<Grid x:Name="Grid_ThumbnailLg" HorizontalAlignment="Center" Height="459" VerticalAlignment="Top" Width="816" Margin="0,0,0,0">
                		<Grid.RowDefinitions>
                			<RowDefinition Height="Auto"/>
                			<RowDefinition Height="*"/>
                		</Grid.RowDefinitions>
                        <local:FZMaterial x:Name="ThumbnailLg" Grid.RowSpan="2" Height="459" Width="816" Color="#40000000" VerticalAlignment="Bottom" HorizontalAlignment="Center" ImageSource="/ForzaUI;component/Textures/Anthem/Paintshop/Checkerboard.png">
                        	<Image x:Name="Image_ThumbnailLg" Source="{Binding BigThumbnail}"/>
                        </local:FZMaterial>
                        <local:FZTextBlock x:Name="TextBlock_Manufacturer" Text="{Binding Title}" FontSize="19" Margin="15,10,15,0" Style="{StaticResource A_Style_FZTextBlock_Heading_Small}" Color="{StaticResource A_Color_ScreenTitle_Text}"/>
                        <Viewbox x:Name="Viewbox_ModelName" StretchDirection="DownOnly" Margin="15,26,15,0" HorizontalAlignment="Left" Height="46">
                        	<local:FZTextBlock x:Name="TextBlock_Model" Text="{Binding Message}" Style="{StaticResource A_Style_FZTextBlock_Heading_SmallInactive}" FontSize="38" Margin="0"/>
                        </Viewbox>
                	</Grid>
                	<Grid x:Name="Grid_MessageContainer" Grid.Row="2">
                		<Grid.ColumnDefinitions>
                			<ColumnDefinition Width="*"/>
                			<ColumnDefinition Width="200"/>
                            <ColumnDefinition Width="*"/>
                		</Grid.ColumnDefinitions>
                        <local:FZMaterial Color="{StaticResource A_Color_PopupGlass}" Height="200" VerticalAlignment="Bottom" ClipToBounds="True" Margin="0,0,4,0"/>

                        <local:FZMaterial x:Name="ThumbnailSm" Grid.Column="1" Color="#40000000" Height="126" Width="224" VerticalAlignment="Bottom" ImageSource="/ForzaUI;component/Textures/Anthem/Paintshop/Checkerboard.png" >
                            <Image x:Name="Image_ThumbnailSm" Source="{Binding SmallThumbnail}" Width="224" Height="126"/>
                        </local:FZMaterial>

                        <local:FZMaterial Grid.Column="2" Color="{StaticResource A_Color_PopupGlass}" Height="200" VerticalAlignment="Bottom" ClipToBounds="True" Margin="4,0,0,0"/>

                        <ProgressBar x:Name="IdleIndicator" IsIndeterminate="True" Style="{StaticResource A_Style_ProgressBar_WaitSpinner}" Grid.Column="2" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,20,20"/>	 
                	</Grid>
                </Grid>			
			</Grid>            
		</Border>	
                
        <!-- event target: Name="EventFireName" TargetName="ControlName" -->							 
		<local:EventFire x:Name="EventFire_Header" TargetName="Control_Header"/> 
	</Grid>
</Page>