<Page
    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:local="clr-namespace:ForzaUI"
    x:Class="ForzaUI.A_BucketListWaitForFinish" 
    mc:Ignorable="d" VerticalAlignment="Center" HorizontalAlignment="Center" RenderTransformOrigin="0.5,0.5"
    DataContext="{Binding RelativeSource={RelativeSource Self}}"
    Style="{StaticResource A_Style_Page_Generic}">

    <local:UIPageTransitionManager.TransitionManager>
        <local:UIPageTransitionManager Preset="{StaticResource A_UIPageTransitionManagerPreset_Menu}"/>
    </local:UIPageTransitionManager.TransitionManager>

    <Page.Resources>
        <ResourceDictionary>

            <Style x:Key="A_Style_FZTextBlock_HeaderText" TargetType="{x:Type local:FZTextBlock}" 
                BasedOn="{StaticResource A_Style_FZTextBlock_HorizonA}">
                <Setter Property="FontFamily" Value="Horizon_A_tf"/>
                <Setter Property="FontSize" Value="60"/>
                <Setter Property="Color" Value="{StaticResource A_Color_SubHeader_Text}"/>
                <Setter Property="TrackingAdjust" Value="0.05" />
            </Style>
            
            <Style x:Key="A_Style_FZTextBlock_BodyText" TargetType="{x:Type local:FZTextBlock}" 
                   BasedOn="{StaticResource A_Style_FZTextBlock_HorizonB}">
                <Setter Property="FontSize" Value="60"/>
                <Setter Property="TextAlignment" Value="Center"/>
                <Setter Property="HorizontalAlignment" Value="Center"/>
                <Setter Property="Color" Value="{StaticResource A_Color_SubHeader_Text}"/>
            </Style>
            
        </ResourceDictionary>
    </Page.Resources>

    <Grid Style="{StaticResource A_Style_FrameworkElement_LayoutRoot}">
        <Decorator Width="{StaticResource A_Double_SceneWidth}">
            <StackPanel Orientation="Vertical" 
                VerticalAlignment="Top"
                HorizontalAlignment="Center">
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="*"/>
                        <ColumnDefinition Width="Auto"/>
                        <ColumnDefinition Width="*"/>
                    </Grid.ColumnDefinitions>
                    <Decorator Grid.Column="1"
                        Margin="30,170,30,0"
                        LayoutTransform="{StaticResource A_Transform_Italic}">
                        <local:FZTextBlock Text="{Binding Time}"
                                           Style="{StaticResource A_Style_FZTextBlock_HeaderText}"
                                           Color="{StaticResource A_Color_HUD_AlternateText}"/>
                    </Decorator>
                </Grid>

                <Decorator Margin="50,20"
                    LayoutTransform="{StaticResource A_Transform_Italic}">
                    <local:FZTextBlock Text="{Binding Text}"
                                       Style="{StaticResource A_Style_FZTextBlock_BodyText}"/>
                </Decorator>
            </StackPanel>
        </Decorator>
    </Grid>
</Page>
