<Page DataContext="{Binding RelativeSource={RelativeSource Self}}"
      FlowDirection="LeftToRight"
      Style="{StaticResource A_Style_Page_Generic}"
      mc:Ignorable="d"
      x:Class="ForzaUI.A_PauseMenuE3"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:System="clr-namespace:System;assembly=mscorlib"
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
      xmlns:local="clr-namespace:ForzaUI;assembly="
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      x:Name="Page">
    <Page.Resources>
        <ResourceDictionary>
            <local:MappingConverter x:Key="A_Converter_ForzathonImageItems_Active"
                                    Default="/ForzaUI;component/Textures/Data_Bound/Anthem/E3/Pause/Season_Autumn_Active.png">
                <local:MappingConverterEntry Key="{x:Static local:ForzaEventChallengeType.E3Winter}" Value="/ForzaUI;component/Textures/Data_Bound/Anthem/E3/Pause/Season_Winter_Active.png" />
                <local:MappingConverterEntry Key="{x:Static local:ForzaEventChallengeType.E3Spring}" Value="/ForzaUI;component/Textures/Data_Bound/Anthem/E3/Pause/Season_Spring_Active.png" />
                <local:MappingConverterEntry Key="{x:Static local:ForzaEventChallengeType.E3Summer}" Value="/ForzaUI;component/Textures/Data_Bound/Anthem/E3/Pause/Season_Summer_Active.png" />
            </local:MappingConverter>
            <local:MappingConverter x:Key="A_Converter_ForzathonImageItems_Complete"
                                    Default="/ForzaUI;component/Textures/Data_Bound/Anthem/E3/Pause/Season_Autumn_Complete.png">
                <local:MappingConverterEntry Key="{x:Static local:ForzaEventChallengeType.E3Winter}" Value="/ForzaUI;component/Textures/Data_Bound/Anthem/E3/Pause/Season_Winter_Complete.png" />
                <local:MappingConverterEntry Key="{x:Static local:ForzaEventChallengeType.E3Spring}" Value="/ForzaUI;component/Textures/Data_Bound/Anthem/E3/Pause/Season_Spring_Complete.png" />
                <local:MappingConverterEntry Key="{x:Static local:ForzaEventChallengeType.E3Summer}" Value="/ForzaUI;component/Textures/Data_Bound/Anthem/E3/Pause/Season_Summer_Complete.png" />
            </local:MappingConverter>
            <local:MappingConverter x:Key="A_Converter_ForzathonImageFloatingItem"
                                    Default="/ForzaUI;component/Textures/Anthem/Icons/TiledMenus/FloatingIcons/Season_Autumn.png">
                <local:MappingConverterEntry Key="{x:Static local:ForzaEventChallengeType.E3Winter}" Value="/ForzaUI;component/Textures/Anthem/Icons/TiledMenus/FloatingIcons/Season_Winter.png" />
                <local:MappingConverterEntry Key="{x:Static local:ForzaEventChallengeType.E3Spring}" Value="/ForzaUI;component/Textures/Anthem/Icons/TiledMenus/FloatingIcons/Season_Spring.png" />
                <local:MappingConverterEntry Key="{x:Static local:ForzaEventChallengeType.E3Summer}" Value="/ForzaUI;component/Textures/Anthem/Icons/TiledMenus/FloatingIcons/Season_Summer.png" />
            </local:MappingConverter>
            <Style x:Key="A_Style_FZMaterial_E3ForzathonImage"
                   TargetType="local:FZMaterial"
                   BasedOn="{StaticResource A_Style_FZMaterial_LockableImageTileBackground_NoCorners}">
                <Setter Property="ImageSource" Value="{Binding ChallengeType, Converter={StaticResource A_Converter_ForzathonImageItems_Active}}" />
                <Style.Triggers>
                    <DataTrigger Binding="{Binding IsComplete}" Value="True">
                        <Setter Property="ImageSource" Value="{Binding ChallengeType, Converter={StaticResource A_Converter_ForzathonImageItems_Complete}}" />
                    </DataTrigger>
                </Style.Triggers>
            </Style>
            <Style x:Key="A_Style_FZTextBlock_E3ForzathonDesc_BOLD"
                   TargetType="{x:Type local:FZRun}">
                <Setter Property="FontFamily" Value="Horizon_A"/>
                <Setter Property="CapHeight" Value="20"/>
            </Style>
            <local:MappingConverter x:Key="A_Converter_E3ForzathonTitle"
                                    Default="{local:Loc Demo.IDS_E3_AutumnObjective_Title}">
                <local:MappingConverterEntry Key="{x:Static local:ForzaEventChallengeType.E3Winter}" Value="{local:Loc Demo.IDS_E3_WinterObjective_Title}" />
                <local:MappingConverterEntry Key="{x:Static local:ForzaEventChallengeType.E3Spring}" Value="{local:Loc Demo.IDS_E3_SpringObjective_Title}" />
                <local:MappingConverterEntry Key="{x:Static local:ForzaEventChallengeType.E3Summer}" Value="{local:Loc Demo.IDS_E3_SummerObjective_Title}" />
            </local:MappingConverter>
            <local:MappingConverter x:Key="A_Converter_E3ForzathonDesc"
                                    Default="{local:Loc Demo.IDS_E3_AutumnObjective_Desc}">
                <local:MappingConverterEntry Key="{x:Static local:ForzaEventChallengeType.E3Winter}" Value="{local:Loc Demo.IDS_E3_WinterObjective_Desc}" />
                <local:MappingConverterEntry Key="{x:Static local:ForzaEventChallengeType.E3Spring}" Value="{local:Loc Demo.IDS_E3_SpringObjective_Desc}" />
                <local:MappingConverterEntry Key="{x:Static local:ForzaEventChallengeType.E3Summer}" Value="{local:Loc Demo.IDS_E3_SummerObjective_Desc}" />
            </local:MappingConverter>
            <local:MappingConverter x:Key="A_Converter_E3ForzathonDescResult"
                                    Default="{local:Loc Demo.IDS_E3_AutumnObjective_Desc_Result}">
                <local:MappingConverterEntry Key="{x:Static local:ForzaEventChallengeType.E3Winter}"
                                             Value="{local:Loc Demo.IDS_E3_WinterObjective_Desc_Result}" />
                <local:MappingConverterEntry Key="{x:Static local:ForzaEventChallengeType.E3Spring}"
                                             Value="{local:Loc Demo.IDS_E3_SpringObjective_Desc_Result}" />
                <local:MappingConverterEntry Key="{x:Static local:ForzaEventChallengeType.E3Summer}"
                                             Value="{local:Loc Demo.IDS_E3_SummerObjective_Desc_Result}" />
            </local:MappingConverter>
            <DataTemplate x:Key="A_E3ForzathonTile">
                <Grid x:Name="Root"
                      Style="{StaticResource A_Style_FrameworkElement_LiveTileItemRoot}">
                    <local:FZMaterial Style="{StaticResource A_Style_FZMaterial_E3ForzathonImage}"
                                      Stretch="Fill"/>
                    <Decorator HorizontalAlignment="Left"
                               VerticalAlignment="Top"
                               Margin="30,64,0,0">
                        <Decorator.RenderTransform>
                            <TransformGroup>
                                <RotateTransform Angle="-6" />
                                <SkewTransform AngleX="-8" />
                            </TransformGroup>
                        </Decorator.RenderTransform>
                        <StackPanel HorizontalAlignment="Center">
                            <local:FZTextBlock Text="{Binding ChallengeType, Converter={StaticResource A_Converter_E3ForzathonTitle}}"
                                               Style="{StaticResource A_Style_FZTextBlock_HorizonA}"
                                               CapHeight="39"
                                               Color="#FFFFFF"
                                               TextAlignment="Center"
                                               HorizontalAlignment="Center" />
                            <Decorator Height="7" />
                            <local:FZTextBlock local:TextBlockInlineMarkup.ResourceBaseName="A_Style_FZTextBlock_E3ForzathonDesc_"
                                               CapHeight="20"
                                               Color="#FFFFFF"
                                               TextAlignment="Center"
                                               HorizontalAlignment="Center"
                                               LineAdjust="-0.30">
                                <local:FZTextBlock.Style>
                                    <Style TargetType="local:FZTextBlock" BasedOn="{StaticResource A_Style_FZTextBlock_HorizonB}">
                                        <Setter Property="local:TextBlockInlineMarkup.Markup"
                                                Value="{Binding ChallengeType, Converter={StaticResource A_Converter_E3ForzathonDesc}}" />
                                        <Style.Triggers>
                                            <DataTrigger Binding="{Binding IsComplete}" Value="True">
                                                <Setter Property="local:MultiStringFormatter.Format"
                                                        Value="{Binding ChallengeType, Converter={StaticResource A_Converter_E3ForzathonDescResult}}" />
                                                <Setter Property="local:MultiStringFormatter.Param0"
                                                        Value="{Binding Score}" />
                                                <Setter Property="local:TextBlockInlineMarkup.Markup"
                                                        Value="{Binding (local:MultiStringFormatter.Output), RelativeSource={RelativeSource Self}, Converter={StaticResource A_StringToUpper}}" />
                                            </DataTrigger>
                                            <MultiDataTrigger>
                                                <MultiDataTrigger.Conditions>
                                                    <Condition Binding="{Binding IsComplete}" Value="True" />
                                                    <Condition Binding="{Binding ChallengeType}" Value="{x:Static local:ForzaEventChallengeType.E3Spring}" />
                                                    <Condition Binding="{Binding Score}" Value="1" />
                                                </MultiDataTrigger.Conditions>
                                                <Setter Property="local:MultiStringFormatter.Format"
                                                        Value="{local:Loc Demo.IDS_E3_SpringObjective_Desc_Result_Singular}" />
                                            </MultiDataTrigger>
                                            <MultiDataTrigger>
                                                <MultiDataTrigger.Conditions>
                                                    <Condition Binding="{Binding IsComplete}" Value="True" />
                                                    <Condition Binding="{Binding ChallengeType}" Value="{x:Static local:ForzaEventChallengeType.E3Spring}" />
                                                    <Condition Binding="{Binding Score}" Value="1.0" />
                                                </MultiDataTrigger.Conditions>
                                                <Setter Property="local:MultiStringFormatter.Format"
                                                        Value="{local:Loc Demo.IDS_E3_SpringObjective_Desc_Result_Singular}" />
                                            </MultiDataTrigger>
                                        </Style.Triggers>
                                    </Style>
                                </local:FZTextBlock.Style>
                            </local:FZTextBlock>
                        </StackPanel>
                    </Decorator>
                </Grid>
            </DataTemplate>
            <local:FZMaterialPresetRoundtangle x:Key="A_FZMaterialPresetroundtangle_FlatPanel_E3ForzathonFloatingIcon_Autumn"
                                               BasedOn="{StaticResource A_FZMaterialPresetroundtangle_FlatPanel_FloatingIcon}"
                                               GradientColorA="#F07708"
                                               GradientColorB="#9E0001"
                                               GradientAngle="90"/>
            <local:FZMaterialPresetRoundtangle x:Key="A_FZMaterialPresetroundtangle_FlatPanel_E3ForzathonFloatingIcon_Winter"
                                               BasedOn="{StaticResource A_FZMaterialPresetroundtangle_FlatPanel_FloatingIcon}"
                                               GradientColorA="#2ACCFF"
                                               GradientColorB="#007BBF"
                                               GradientAngle="90"/>
            <local:FZMaterialPresetRoundtangle x:Key="A_FZMaterialPresetroundtangle_FlatPanel_E3ForzathonFloatingIcon_Spring"
                                               BasedOn="{StaticResource A_FZMaterialPresetroundtangle_FlatPanel_FloatingIcon}"
                                               GradientColorA="#C2D323"
                                               GradientColorB="#549D39"
                                               GradientAngle="90"/>
            <local:FZMaterialPresetRoundtangle x:Key="A_FZMaterialPresetroundtangle_FlatPanel_E3ForzathonFloatingIcon_Summer"
                                               BasedOn="{StaticResource A_FZMaterialPresetroundtangle_FlatPanel_FloatingIcon}"
                                               GradientColorA="#FFBC00"
                                               GradientColorB="#FF7700"
                                               GradientAngle="90"/>
            <local:MappingConverter x:Key="A_Converter_E3ForzathonFloatingIconBg"
                                    Default="{StaticResource A_FZMaterialPresetroundtangle_FlatPanel_E3ForzathonFloatingIcon_Autumn}">
                <local:MappingConverterEntry Key="{x:Static local:ForzaEventChallengeType.E3Winter}" Value="{StaticResource A_FZMaterialPresetroundtangle_FlatPanel_E3ForzathonFloatingIcon_Winter}" />
                <local:MappingConverterEntry Key="{x:Static local:ForzaEventChallengeType.E3Spring}" Value="{StaticResource A_FZMaterialPresetroundtangle_FlatPanel_E3ForzathonFloatingIcon_Spring}" />
                <local:MappingConverterEntry Key="{x:Static local:ForzaEventChallengeType.E3Summer}" Value="{StaticResource A_FZMaterialPresetroundtangle_FlatPanel_E3ForzathonFloatingIcon_Summer}" />
            </local:MappingConverter>
            <ControlTemplate x:Key="A_ControlTemplate_E3ForzathonTile"
                 TargetType="{x:Type local:MultiItemLiveTile}">
                <Grid Style="{StaticResource A_Style_FrameworkElement_TiledMenuTransition}">
                    <local:FZMaterial Style="{StaticResource A_Style_FZMaterial_TileShadow}" />
                    <Grid Style="{StaticResource A_Style_Grid_MotionBlur}">
                        <local:FZMaterial Style="{StaticResource A_Style_FZMaterial_MotionBlurExpander}" />
                        <Grid x:Name="ContentsContainer"
                            Margin="{StaticResource A_Thickness_MultiItemLiveTileBackground}">
                            <local:FZMaterial Color="#FF000000"
                                      Stretch="Fill"/>
                            <local:ItemsSelector x:Name="MainSelector"
                                 SelectedIndex="{Binding SelectedItemIndex, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}"
                                 Style="{StaticResource A_Style_ItemsSelector_ItemDisplay}"
                                 ItemsSource="{TemplateBinding Items}" 
                                 ItemTemplate="{StaticResource A_E3ForzathonTile}" />
                        </Grid>
                        <local:FZMaterial x:Name="Background"
                                Style="{StaticResource A_Style_FZMaterial_TileBackground_NoAlternate}"
                                Preset="{StaticResource A_FZMaterialPresetRoundtangleStroke_MultiItemLiveTileBackground}"/>
                        <local:ItemsSelector x:Name="DotSelector"
                                SelectedIndex="{Binding SelectedItemIndex, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" 
                                Style="{StaticResource A_Style_ItemsSelector_SelectionDots}"
                                VerticalAlignment="Bottom"
                                ItemsSource="{TemplateBinding Items}"
                                Visibility="Visible" />
                        <Grid ClipToBounds="True"
                              VerticalAlignment="Bottom">
                            <Grid x:Name="FloatingIconContainer"
                                Margin="0,0,0,-48">
                                <Grid Height="140"
                                      Width="175"
                                      HorizontalAlignment="Left"
                                      VerticalAlignment="Bottom">
                                    <local:FZMaterial ImageSource="/ForzaUI;component/Textures/Anthem/Icons/TiledMenus/FloatingIcons/Icon_Shadow.png"
                                                      Width="108"
                                                      Height="108"
                                                      Margin="-18,0,0,45"
                                                      HorizontalAlignment="Left"
                                                      VerticalAlignment="Bottom"/>
                                    <local:FZMaterial ImageSource="/ForzaUI;component/Textures/Anthem/Icons/TiledMenus/FloatingIcons/FloatingIconShadow.png">
                                        <local:FZMaterial x:Name="FloatingIconBackground"
                                                          Style="{StaticResource A_Style_FZMaterial_FloatingIcon}"
                                                          Preset="{Binding SelectedItem.ChallengeType, ElementName=MainSelector, Converter={StaticResource A_Converter_E3ForzathonFloatingIconBg}}"
                                                          Color="#FFFFFF">
                                            <local:FZMaterial x:Name="FloatingIconContent">
                                                <local:FZMaterial.Style>
                                                    <Style TargetType="local:FZMaterial">
                                                        <Setter Property="ImageSource" Value="{Binding SelectedItem.ChallengeType, ElementName=MainSelector, Converter={StaticResource A_Converter_ForzathonImageFloatingItem}}" />
                                                        <Style.Triggers>
                                                            <DataTrigger Binding="{Binding SelectedItem.IsComplete, ElementName=MainSelector}" Value="True">
                                                                <Setter Property="ImageSource" Value="/ForzaUI;component/Textures/Anthem/Icons/TiledMenus/FloatingIcons/E3_ObjectiveComplete.png" />
                                                            </DataTrigger>
                                                        </Style.Triggers>
                                                    </Style>
                                                </local:FZMaterial.Style>
                                            </local:FZMaterial>
                                        </local:FZMaterial>
                                    </local:FZMaterial>
                                </Grid>
                            </Grid>
                        </Grid>
                        <ContentControl Style="{StaticResource A_Style_ContentControl_TileSelectionStroke}" />
                    </Grid>
                </Grid>
            </ControlTemplate>
            <Style x:Key="A_Style_Button_E3ForzathonTile"
                TargetType="{x:Type local:MultiItemLiveTile}"
                BasedOn="{StaticResource A_Style_Button_RootTile}">
                <Setter Property="Template" Value="{StaticResource A_ControlTemplate_E3ForzathonTile}" />
                <Setter Property="local:TileMenuNavigationManager.GridWidth" Value="30" />
                <Setter Property="local:TileMenuNavigationManager.GridHeight" Value="16" />
                <Setter Property="local:TileMenuNavigationManager.InitialSelection" Value="True" />
            </Style>
            <ControlTemplate x:Key="A_ControlTemplate_E3FeaturedTile"
                             TargetType="{x:Type local:MultiItemLiveTile}">
                <Grid Style="{StaticResource A_Style_FrameworkElement_TiledMenuTransition}">
                    <local:FZMaterial Style="{StaticResource A_Style_FZMaterial_TileShadow}" />
                    <Grid Style="{StaticResource A_Style_Grid_MotionBlur}">
                        <local:FZMaterial Style="{StaticResource A_Style_FZMaterial_MotionBlurExpander}" />
                        <Grid x:Name="ContentsContainer"
                            Margin="{StaticResource A_Thickness_MultiItemLiveTileBackground}">
                            <local:ItemsSelector x:Name="MainSelector"
                                 SelectedIndex="{Binding SelectedItemIndex, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}"
                                 Style="{StaticResource A_Style_ItemsSelector_ItemDisplay}"
                                 ItemsSource="{TemplateBinding Items}" />
                        </Grid>
                        <local:FZMaterial x:Name="Background"
                                Style="{StaticResource A_Style_FZMaterial_TileBackground_NoAlternate}"
                                Preset="{StaticResource A_FZMaterialPresetRoundtangleStroke_MultiItemLiveTileBackground}"/>
                        <local:ItemsSelector x:Name="DotSelector"
                                SelectedIndex="{Binding SelectedItemIndex, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" 
                                Style="{StaticResource A_Style_ItemsSelector_SelectionDots}"
                                VerticalAlignment="Bottom"
                                ItemsSource="{TemplateBinding Items}"
                                Visibility="Visible"/>
                        <ContentControl x:Name="TitlePanelControl"
                            Style="{StaticResource A_Style_ContentControl_TileTitlePanel}"
                            Tag="{Binding UseAlternateColors}"
                            Visibility="Collapsed">
                            <StackPanel Orientation="Vertical"
                                VerticalAlignment="Center">
                                <local:FZTextBlock Style="{StaticResource A_Style_FZTextBlock_TileTitle}"
                                    HorizontalAlignment="Center"/>
                                <local:FZTextBlock Style="{StaticResource A_Style_FZTextBlock_TileText_ImageTile}"
                                    HorizontalAlignment="Center"/>
                            </StackPanel>
                        </ContentControl>
                        <Grid ClipToBounds="True"
                                VerticalAlignment="Bottom">
                            <Grid x:Name="FloatingIconContainer"
                                
                                Margin="0,0,0,-48">
                                <ContentControl x:Name="FloatingIcon"
                                            Content="{Binding DataContext.FloatingIcon, RelativeSource={RelativeSource TemplatedParent}}"
                                            Style="{StaticResource A_Style_ContentControl_FloatingIcon_Tile}"/>
                                <ContentControl Content="{Binding (local:BindingProxy.A), RelativeSource={RelativeSource TemplatedParent}}"
                                            Style="{StaticResource A_Style_ContentControl_NotificationBadge_ImageTile}" />
                            </Grid>
                        </Grid>
                        <ContentControl Style="{StaticResource A_Style_ContentControl_TileSelectionStroke}" />
                    </Grid>
                </Grid>
            </ControlTemplate>

            <ControlTemplate x:Key="A_ControlTemplate_E3Infographic"
                             TargetType="{x:Type local:FZButton}">
                <Grid Style="{StaticResource A_Style_FrameworkElement_TiledMenuTransition}">
                    <local:FZMaterial Style="{StaticResource A_Style_FZMaterial_TileShadow}" />
                    <Grid Style="{StaticResource A_Style_Grid_Infographics_MainContent}">
                        <local:FZMaterial Style="{StaticResource A_Style_FZMaterial_MotionBlurExpander}" />
                        <ContentControl Template="{StaticResource A_ControlTemplate_ContentControl_Infographics_Radial}" />
                    </Grid>
                    <ContentControl Style="{StaticResource A_Style_ContentControl_TileSelectionStroke}"/>
                </Grid>
            </ControlTemplate>

            <BitmapImage x:Key="A_BitmapImage_Car1" UriSource="/ForzaUI;component/Textures/Data_Bound/Anthem/E3/Pause/Car1.png" />
            <BitmapImage x:Key="A_BitmapImage_Car2" UriSource="/ForzaUI;component/Textures/Data_Bound/Anthem/E3/Pause/Car2.png" />
            <BitmapImage x:Key="A_BitmapImage_Car3" UriSource="/ForzaUI;component/Textures/Data_Bound/Anthem/E3/Pause/Car3.png" />
            <BitmapImage x:Key="A_BitmapImage_Car4" UriSource="/ForzaUI;component/Textures/Data_Bound/Anthem/E3/Pause/Car4.png" />

            <local:MappingConverter x:Key="A_Converter_SledToLocked"
                                    Default="{x:Static local:LockState.Unlocked}">
                <local:MappingConverterEntry Key="True" Value="{x:Static local:LockState.Locked}" />
            </local:MappingConverter>
        </ResourceDictionary>
    </Page.Resources>
    <local:UIPageTransitionManager.TransitionManager>
        <local:UIPageTransitionManager Preset="{StaticResource A_UIPageTransitionManagerPreset_TiledRootMenu}" />
    </local:UIPageTransitionManager.TransitionManager>
    <Grid KeyboardNavigation.DirectionalNavigation="Contained"
          x:Name="LayoutRoot">
        <local:MappingConverterResourcePreloader Converter="{StaticResource A_Converter_E3ForzathonFloatingIconBg}"
                                                 ValueType="BitmapImage" />
       <Control Style="{StaticResource A_Style_Control_ScreenBackground}" />
        <ContentControl Style="{StaticResource A_Style_ButtonBar}"
                        x:Name="BottomBar">
            <local:ControllerButtonPanel x:Name="HelpPanel"
                                 Style="{StaticResource A_Style_ControllerButtonPanel_Default}">
                <local:ControllerButtonControl Button="A"
                                               Description="{local:Loc HelpButtons.IDS_Select}" />
                <local:ControllerButtonControl Button="B"
                                               Description="{local:Loc HelpButtons.IDS_Back}" />
                <!-- On PC for wheels we can't gaurantee that L3 will exist so map to X (unused) instead -->
                <local:ControllerButtonControl Button="X"
                                               Style="{StaticResource A_Style_ControllerButtonControl_PauseMenuX}" />
                <local:ControllerButtonControl Button="L3"
                                               Description="{local:Loc HelpButtons.IDS_ResetCarPosition}"
                                               Visibility="{Binding IsPC, Converter={StaticResource A_FZBooleanToVisibilityConverter_Inverse}}" />
            </local:ControllerButtonPanel>
        </ContentControl>
        <Border Style="{StaticResource A_Style_Border_ScenePadding_TiledScene}">
            <StackPanel VerticalAlignment="Center">
                <Decorator Style="{StaticResource A_Style_FrameworkElement_DefaultTransition_0}"
                           Margin="297,70,0,5">
                    <ContentControl Content="{local:Loc ScreenTitles.IDS_GamePaused}"
                                    Style="{StaticResource A_Style_ContentControl_ScreenTitleBlock}"
                                    local:BindingProxy.A="/ForzaUI;component/Textures/Anthem/Icons/Titles/MyHorizonLife.png"
                                    HorizontalAlignment="Left"/>
                </Decorator>
                <Grid VerticalAlignment="Center"
                      x:Name="PART_MenuContent">
                    <Grid.RowDefinitions>
                        <RowDefinition Height="Auto"/>
                        <RowDefinition Height="{StaticResource A_GridLength_TileMenu_Height}"/>
                    </Grid.RowDefinitions>

                    <Canvas Style="{StaticResource A_Canvas_BaseMenu}"
                            x:Name="PART_SCOPE_Home"
                            RenderTransformOrigin="0.5,0.5"
                            VerticalAlignment="Center">
                        <local:FZButton x:Name="PART_Button_Home_Weather"
                                Style="{StaticResource A_Style_Button_EmptyTile}"
                                local:TileMenuNavigationManager.GridX="9"
                                local:TileMenuNavigationManager.GridY="0"
                                local:TileMenuNavigationManager.GridWidth="13"
                                local:TileMenuNavigationManager.GridHeight="6"
                                local:TileMenuNavigationManager.TileState="{x:Static local:TileState.EnabledNonInteractive}"
                                DataContext="{Binding CurrentWeatherInfo, RelativeSource={RelativeSource AncestorType=Page}}"
                                ContentTemplate="{StaticResource A_DataTemplate_PauseWeather}"
                                Content="{Binding}" />
                        <local:FZButton x:Name="PART_Button_Home_NowPlaying"
                                Style="{StaticResource A_Style_Button_EmptyTile}"
                                local:TileMenuNavigationManager.GridX="52"
                                local:TileMenuNavigationManager.GridY="0"
                                local:TileMenuNavigationManager.GridWidth="13"
                                local:TileMenuNavigationManager.GridHeight="6"
                                local:TileMenuNavigationManager.TileState="{x:Static local:TileState.EnabledNonInteractive}"
                                DataContext="{Binding CurrentRadioInfo, RelativeSource={RelativeSource AncestorType=Page}}"
                                ContentTemplate="{StaticResource A_DataTemplate_PauseRadio}"
                                Content="{Binding}" />
                        <local:FZButton x:Name="PART_Button_Controls"
                                    Style="{StaticResource A_Style_Button_ImageTile}"
                                    local:TileMenuNavigationManager.GridX="52"
                                    local:TileMenuNavigationManager.GridY="6"
                                    local:TileMenuNavigationManager.GridWidth="13"
                                    local:TileMenuNavigationManager.GridHeight="10"
                                    local:TileMenuNavigationManager.LockState="{Binding IsE3Sled, RelativeSource={RelativeSource AncestorType=Page}, Converter={StaticResource A_Converter_SledToLocked}}"
                                    Command="{Binding ControllerOptionsCommand, RelativeSource={RelativeSource AncestorType=Page}}">
                            <local:FZButton.DataContext>
                                <local:TileMenuDataItem Heading="{local:Loc TiledMenus.IDS_Options_TileTitle_Controls}"
                                        Description="{local:Loc TiledMenus.IDS_E3Pause_ControlSettings_Desc}"
                                        Icon="/ForzaUI;component/Textures/Data_Bound/Anthem/E3/Pause/Control_Settings.png"
                                        FloatingIcon="/ForzaUI;component/Textures/Anthem/Icons/TiledMenus/FloatingIcons/Controller.png" />
                            </local:FZButton.DataContext>
                        </local:FZButton>
                        <local:FZButton x:Name="PART_Button_Home_DifficultyAndAssists"
                            Style="{StaticResource A_Style_Button_ImageTile}"
                            local:TileMenuNavigationManager.GridX="6"
                            local:TileMenuNavigationManager.GridY="6"
                            local:TileMenuNavigationManager.GridWidth="16"
                            local:TileMenuNavigationManager.GridHeight="10"
                            Command="{Binding DifficultyOptionsCommand, RelativeSource={RelativeSource AncestorType=Page}}">
                            <local:FZButton.DataContext>
                                <local:TileMenuDataItem Heading="{local:Loc TiledMenus.IDS_Options_TileTitle_Difficulty}"
                                                        Description="{local:Loc TiledMenus.IDS_E3Pause_DifficultySettings_Desc}"
                                                        Icon="/ForzaUI;component/Textures/Data_Bound/Anthem/E3/Pause/Difficulty_Settings.png"
                                                        FloatingIcon="/ForzaUI;component/Textures/Anthem/Icons/TiledMenus/FloatingIcons/Cog.png" />
                            </local:FZButton.DataContext>
                        </local:FZButton>
                        <local:MultiItemLiveTile x:Name="PART_Button_Home_Forzathon"
                            Style="{StaticResource A_Style_Button_E3ForzathonTile}"
                            local:TileMenuNavigationManager.GridX="22"
                            local:TileMenuNavigationManager.GridY="0"
                            ShouldAutoCycle="False"
                            Items="{Binding Objectives}"
                            InitialSelectionIndex="{Binding CurrentFeaturedIndex, RelativeSource={RelativeSource AncestorType=Page}}">
                        </local:MultiItemLiveTile>
                        <local:MultiItemLiveTile x:Name="PART_Button_Home_Featured"
                            Style="{StaticResource A_Style_Button_FeaturedTile}"
                            Template="{StaticResource A_ControlTemplate_E3FeaturedTile}"
                            local:TileMenuNavigationManager.GridX="22"
                            local:TileMenuNavigationManager.GridY="16"
                            Command="{Binding GoFromFeaturedTileCommand, RelativeSource={RelativeSource AncestorType=Page}}">
                            <local:MultiItemLiveTile.Items>
                                <local:ArrayList>
                                    <local:BaseFeaturedLiveTileItem ImageSource="{StaticResource A_BitmapImage_Car1}"
                                                                    TitleText="{local:Loc List_CarMake.IDS_DisplayName_27}"
                                                                    SubtitleText="{local:Loc Data_Car.IDS_DisplayName_3106}" />
                                    <local:BaseFeaturedLiveTileItem ImageSource="{StaticResource A_BitmapImage_Car2}"
                                                                    TitleText="{local:Loc List_CarMake.IDS_DisplayName_14}"
                                                                    SubtitleText="{local:Loc Data_Car.IDS_ModelShort_2937}" />
                                    <local:BaseFeaturedLiveTileItem ImageSource="{StaticResource A_BitmapImage_Car3}"
                                                                    TitleText="{local:Loc List_CarMake.IDS_DisplayName_39}"
                                                                    SubtitleText="{local:Loc Data_Car.IDS_DisplayName_2529}" />
                                    <local:BaseFeaturedLiveTileItem ImageSource="{StaticResource A_BitmapImage_Car4}"
                                                                    TitleText="{local:Loc List_CarMake.IDS_DisplayName_151}"
                                                                    SubtitleText="{local:Loc Data_Car.IDS_ModelShort_2663}" />
                                </local:ArrayList>
                            </local:MultiItemLiveTile.Items>
                            <local:MultiItemLiveTile.DataContext>
                                <local:TileMenuDataItem FloatingIcon="/ForzaUI;component/Textures/Anthem/Icons/TiledMenus/FloatingIcons/Featured_Car.png"/>
                            </local:MultiItemLiveTile.DataContext>
                        </local:MultiItemLiveTile>
                        <local:FZButton x:Name="PART_Button_Home_Infographic1"
                            Style="{StaticResource A_Style_Button_RootTile}"
                            local:TileMenuNavigationManager.GridWidth="9"
                            local:TileMenuNavigationManager.GridHeight="12"
                            local:TileMenuNavigationManager.GridX="13"
                            local:TileMenuNavigationManager.GridY="16"
                            Template="{StaticResource A_ControlTemplate_E3Infographic}">
                            <local:FZButton.DataContext>
                                <local:StatInfographicDataContext Title="{local:Loc TiledMenus.IDS_E3Pause_Infographic_HousesOwned}"
                                                            Color="#00B18F"
                                                            ProgressStringFormat="{x:Static local:InfographicStringFormat.PercentageRatio}"
                                                            StatIcon="/ForzaUI;component/Textures/Data_Bound/Anthem/E3/Pause/Houses_Owned.png">
                                    <local:StatInfographicDataContext.LocalUserInfographicData>
                                        <local:UserInfographicData
                                            ProgressString="7"
                                            OutOfString="/10"
                                            ProgressRatio="0.75"
                                            ProgressActual="0.75" />
                                    </local:StatInfographicDataContext.LocalUserInfographicData>
                                </local:StatInfographicDataContext>
                            </local:FZButton.DataContext>
                        </local:FZButton>
                        <local:FZButton x:Name="PART_Button_Home_Infographic2"
                            Style="{StaticResource A_Style_Button_RootTile}"
                            local:TileMenuNavigationManager.GridWidth="9"
                            local:TileMenuNavigationManager.GridHeight="12"
                            local:TileMenuNavigationManager.GridX="43"
                            local:TileMenuNavigationManager.GridY="16"
                            Template="{StaticResource A_ControlTemplate_E3Infographic}">
                            <local:FZButton.DataContext>
                                <local:StatInfographicDataContext Title="{local:Loc TiledMenus.IDS_E3Pause_Infographic_CarsOwned}"
                                                            Color="#00B18F"
                                                            ProgressStringFormat="{x:Static local:InfographicStringFormat.PercentageRatio}"
                                                            StatIcon="/ForzaUI;component/Textures/Data_Bound/Anthem/E3/Pause/Cars_Owned.png">
                                    <local:StatInfographicDataContext.LocalUserInfographicData>
                                        <local:UserInfographicData
                                            ProgressString="275"
                                            OutOfString="/450"
                                            ProgressRatio="0.61"
                                            ProgressActual="0.61" />
                                    </local:StatInfographicDataContext.LocalUserInfographicData>
                                </local:StatInfographicDataContext>
                            </local:FZButton.DataContext>
                        </local:FZButton>
                        <local:FZButton x:Name="PART_Button_Home_RestartEvent"
                            Style="{StaticResource A_Style_Button_IconTile}"
                            local:TileMenuNavigationManager.GridX="52"
                            local:TileMenuNavigationManager.GridY="16"
                            local:TileMenuNavigationManager.GridWidth="9"
                            local:TileMenuNavigationManager.GridHeight="4"
                            local:TileMenuNavigationManager.TileState="{x:Static local:TileState.Enabled}"
                            Command="{Binding RestartCommand, RelativeSource={RelativeSource AncestorType=Page}}">
                            <local:FZButton.DataContext>
                                <local:TileMenuDataItem Description="{local:Loc Demo.IDS_E3_Pause_Restart}"
                                    Icon="/ForzaUI;component/Textures/Anthem/Icons/PauseMenu/Restart_Event.png"
                                    LockedIcon="/ForzaUI;component/Textures/Anthem/Icons/PauseMenu/Restart_Event_Locked.png" />
                            </local:FZButton.DataContext>
                        </local:FZButton>
                    </Canvas>
                </Grid>
            </StackPanel>
        </Border>
    </Grid>
</Page>
