<PauseMenuTiled
    DataContext="{Binding RelativeSource={RelativeSource Self}}"
    FlowDirection="LeftToRight"
    Style="{StaticResource A_Style_Page_Generic}"
    mc:Ignorable="d"
    x:Class="ForzaUI.A_PauseMenu"
    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"
    AttachedTileMenu.TileMenuNavigationManager="{TileMenuNavigationManager}">
    <Page.Resources>
        <ResourceDictionary>
            <local:FZMaterialPresetRoundtangle x:Key="A_FZMaterialPresetRoundtangle_FlatPanel_Desaturated_Pause_Menu" 
                                               BasedOn="{StaticResource A_FZMaterialPresetRoundtangle_FlatPanel_Desaturated}" 
                                               CornerRadius="8"/>
 
            <local:MappingConverter x:Key="A_Converter_ColumnSpan_To_GoldenPath_Icon">
                <local:MappingConverterEntry Key="1" Value="/ForzaUI;component/Textures/Data_Bound/PauseMenu_Images/GoldenPath_Locked_Tile.png"/>
                <local:MappingConverterEntry Key="2"  Value="/ForzaUI;component/Textures/Data_Bound/PauseMenu_Images/GoldenPath_Tile.png"/>
            </local:MappingConverter>
             
            <MappingConverter x:Key="H_PauseMenuEventState_ToQuitEventHeading"
                Default="{Loc PauseMenu.IDS_TileTitle_QuitEvent}">
                <MappingConverterEntry Key="{Static PauseMenuEventState.Unranked}" Value="{Loc PauseMenu.IDS_TileTitle_AbandonAdventure_Unranked}"/>
                <MappingConverterEntry Key="{Static PauseMenuEventState.EliteSeries}" Value="{Loc PauseMenu.IDS_TileTitle_AbandonAdventure_EliteSeries}"/>
                <MappingConverterEntry Key="{Static PauseMenuEventState.SeasonalChampionship}" Value="{Loc PauseMenu.IDS_TileTitle_AbandonAdventure_SeasonalChampionship}"/>
                <MappingConverterEntry Key="{Static PauseMenuEventState.HorizonTour}" Value="{Loc PauseMenu.IDS_TileTitle_AbandonAdventure_HorizonTour}"/>
                <MappingConverterEntry Key="{Static PauseMenuEventState.SIDITestDrive}" Value="{Loc PauseMenu.IDS_TileTitle_QuitEvent_TestDrive}"/>    
            </MappingConverter>

            <MappingConverter x:Key="H_PauseMenuEventState_ToQuitEventDescription"
                Default="{Loc PauseMenu.IDS_TileText_QuitEvent}">
                <MappingConverterEntry Key="{Static PauseMenuEventState.Unranked}" Value="{Loc PauseMenu.IDS_TileText_AbandonAdventure_Unranked}"/>
                <MappingConverterEntry Key="{Static PauseMenuEventState.EliteSeries}" Value="{Loc PauseMenu.IDS_TileText_AbandonAdventure_EliteSeries}"/>
                <MappingConverterEntry Key="{Static PauseMenuEventState.SeasonalChampionship}" Value="{Loc PauseMenu.IDS_TileText_AbandonAdventure_SeasonalChampionship}"/>
                <MappingConverterEntry Key="{Static PauseMenuEventState.HorizonTour}" Value="{Loc PauseMenu.IDS_TileText_AbandonAdventure_HorizonTour}"/>
                <MappingConverterEntry Key="{Static PauseMenuEventState.EventLabTestDrive}" Value="{Loc PauseMenu.IDS_TileText_QuitEvent_EventlabTestDrive}"/>
                <MappingConverterEntry Key="{Static PauseMenuEventState.TestTrack}" Value="{Loc PauseMenu.IDS_TileText_QuitEvent_TestTrack}"/>
                <MappingConverterEntry Key="{Static PauseMenuEventState.SIDITestDrive}" Value="{Loc PauseMenu.IDS_TileText_QuitEvent_TestDrive}"/>
            </MappingConverter>

            <local:MappingConverter x:Key="A_Converter_IsInEventLabTestDriveState_To_TileState"
                                    Default="{x:Static local:TileState.Disabled}">
                <local:MappingConverterEntry Key="{x:Static PauseMenuEventState.EventLabTestDrive}" Value="{x:Static local:TileState.Enabled}"/>
            </local:MappingConverter>

            <local:MappingConverter x:Key="A_Converter_IsInEventLabTestDriveState_To_Boolean"
                                    Default="False">
                <local:MappingConverterEntry Key="{x:Static PauseMenuEventState.EventLabTestDrive}" Value="True"/>
            </local:MappingConverter>

            <MappingConverter x:Key="A_Converter_MapTileZoomLevel"
                              Default="650">
                <MappingConverterEntry Key="{Static XAMLTrack.ExpansionTwo}" Value="400" />
            </MappingConverter>

            <MappingConverter x:Key="A_Converter_UIWeatherType_To_Icon" CheckEnumKey="UIWeatherType">
                <MappingConverterEntry Key="{x:Static local:UIWeatherType.ClearDay}" Value="/ForzaUI;component/Textures/Data_Bound/Event_Blueprint/Weather/Clear.png"/>
                <MappingConverterEntry Key="{x:Static local:UIWeatherType.ClearNight}" Value="/ForzaUI;component/Textures/Data_Bound/Event_Blueprint/Weather/Clear_Night.png"/>
                <MappingConverterEntry Key="{x:Static local:UIWeatherType.Cloudy}" Value="/ForzaUI;component/Textures/Data_Bound/Event_Blueprint/Weather/Cloudy.png"/>
                <MappingConverterEntry Key="{x:Static local:UIWeatherType.Overcast}" Value="/ForzaUI;component/Textures/Data_Bound/Event_Blueprint/Weather/Overcast.png"/>
                <MappingConverterEntry Key="{x:Static local:UIWeatherType.LightRain}" Value="/ForzaUI;component/Textures/Data_Bound/Event_Blueprint/Weather/Light_Precipitation.png"/>
                <MappingConverterEntry Key="{x:Static local:UIWeatherType.HeavyRain}" Value="/ForzaUI;component/Textures/Data_Bound/Event_Blueprint/Weather/Heavy_Precipitation.png"/>
                <MappingConverterEntry Key="{x:Static local:UIWeatherType.LightSnow}" Value="/ForzaUI;component/Textures/Data_Bound/Event_Blueprint/Weather/Light_Snow.png"/>
                <MappingConverterEntry Key="{x:Static local:UIWeatherType.HeavySnow}" Value="/ForzaUI;component/Textures/Data_Bound/Event_Blueprint/Weather/Heavy_Snow.png"/>
                <MappingConverterEntry Key="{x:Static local:UIWeatherType.Gale}" Value="/ForzaUI;component/Textures/Data_Bound/Event_Blueprint/Weather/Gale.png"/> 
                <MappingConverterEntry Key="{x:Static local:UIWeatherType.Fog}" Value="/ForzaUI;component/Textures/Data_Bound/Event_Blueprint/Weather/Fog.png"/>
                <MappingConverterEntry Key="{x:Static local:UIWeatherType.Lightning}" Value="/ForzaUI;component/Textures/Data_Bound/Event_Blueprint/Weather/Lightning.png"/>
                <MappingConverterEntry Key="{x:Static local:UIWeatherType.Aurora}" Value="/ForzaUI;component/Textures/Data_Bound/Event_Blueprint/Weather/Aurora.png"/>
            </MappingConverter>

            <DataTemplate x:Key="H_Template_WorldMapTile">
                <Grid>
                    <FZMaterial x:Name="MapCaptureMaterial">
                        <FZMaterial.Style>
                            <Style TargetType="FZMaterial">
                                <Setter Property="CaptureSubgraph" Value="True"/>
                                <Setter Property="Preset" Value="{Roundtangle CornerRadius=8}"/>
                                <Style.Triggers>
                                    <DataTrigger Binding="{Binding (local:TileMenuNavigationManager.LockState), RelativeSource={RelativeSource AncestorType=Button}}" Value="{x:Static local:LockState.Locked}">
                                        <Setter Property="Color" Value="White"/>
                                        <Setter Property="Preset" Value="{StaticResource A_FZMaterialPresetRoundtangle_FlatPanel_Desaturated_Pause_Menu}"/>
                                    </DataTrigger>
                                </Style.Triggers>
                            </Style>
                        </FZMaterial.Style>
                        <MapCustomRenderElement
                            Alpha="1.0"
                            ClipToBounds="True"
                            MapId="default"
                            MapProfile="{Binding ActiveMapProfile, RelativeSource={RelativeSource AncestorType=Page}}"
                            Roll="{Binding ActiveMapRotation, RelativeSource={RelativeSource AncestorType=Page}}"
                            MapView="{Binding ActiveMapView, RelativeSource={RelativeSource AncestorType=Page}}"/>
                    </FZMaterial>
                    <FZMaterial ImageSource="/ForzaUI;component/Textures/Data_Bound/PauseMenu_Images/Map_Vignette.png"
                        Preset="{Roundtangle CornerRadius=8}"/>
                    <DockPanel
                        Style="{StaticResource H_Style_ImageTile_ContentsPanel}">
                        <FZTextBlock
                            Style="{StaticResource H_Style_ImageTile_HeadingText}"
                            Color="White"
                            DockPanel.Dock="Top"/>
                        <DockPanel Margin="0,0,0,-10">
                            <StackPanel DockPanel.Dock="Left" VerticalAlignment="Bottom" Orientation="Horizontal">
                                <FZMaterial Height="42" Width="42" Margin="2"
                                            ImageSource="{Binding VisualSeason, RelativeSource={RelativeSource AncestorType=Page}, Converter={StaticResource A_Converter_Season_To_FooterIcon}}"/>
                                <FZMaterial Height="42" Width="42" Margin="2"
                                            ImageSource="{Binding CurrentWeather, RelativeSource={RelativeSource AncestorType=Page}, Converter={StaticResource A_Converter_UIWeatherType_To_Icon}}"/>
                                <FZMaterial Height="42" Margin="2" Color="Black">
                                    <StackPanel Orientation="Horizontal">
                                        <FZMaterial Height="42" Width="42"  ImageSource="/ForzaUI;component/Textures/Data_Bound/Event_Blueprint/ToD.png" Color="White" VerticalAlignment="Center"/>
                                        <FZTextBlock Color="White" Text="{Binding CurrentTimeOfDay, RelativeSource={RelativeSource AncestorType=Page}, Converter={StaticResource A_Converter_TimeOfDay_To_String}}" Margin="5,5,10,5" VerticalAlignment="Center" FontFamily="Horizon_A" CapHeight="18"/>
                                    </StackPanel>
                                </FZMaterial>
                            </StackPanel>

                            <FZMaterial Color="#FF000000" VerticalAlignment="Bottom" Height="42" Width="500" HorizontalAlignment="Right" Margin="2,2,-24,2">
                                <DockPanel>
                                    <FZMaterial ImageSource="/ForzaUI;component/Textures/Data_Bound/PauseMenu_Images/Map_Location_Icon.png" Height="60" Width="42" DockPanel.Dock="Left" Margin="10,-25,0,0"/>
                                    <FZMaterial ImageSource="{Binding WorldMapTileMascotImagePath, RelativeSource={RelativeSource AncestorType=Page}}" Height="200" Width="200" DockPanel.Dock="Right" HorizontalAlignment="Right" Margin="0,-133,0,0"/>
                                    <FZTextBlock Text="{Binding WorldMapTileDescription, RelativeSource={RelativeSource AncestorType=Page}}" Color="White" Margin="5" VerticalAlignment="Center" FontFamily="Horizon_D" CapHeight="18"/>
                                </DockPanel>
                            </FZMaterial>
                        </DockPanel>
                    </DockPanel>
                </Grid>
            </DataTemplate>

            <Style
                x:Key="H_Style_WorldMapTile"
                TargetType="{Type FZButton}"
                BasedOn="{StaticResource H_Style_Tile}">
                <Setter 
                    Property="Grid.ColumnSpan"
                    Value="2" />
                <Setter
                    Property="Grid.RowSpan"
                    Value="8" />
                <Setter
                    Property="ContentTemplate"
                    Value="{StaticResource H_Template_ImageTile}"/>
                <Style.Triggers>
                    <DataTrigger Binding="{Binding Tag, RelativeSource={RelativeSource Self}}" Value="True">
                        <Setter Property="ContentTemplate"
                                Value="{StaticResource H_Template_WorldMapTile}"/>
                    </DataTrigger>
                </Style.Triggers>
            </Style>

            <Style
                x:Key="H_Style_WorldMapTile_Default"
                TargetType="{Type FZButton}"
                BasedOn="{StaticResource H_Style_WorldMapTile}">
                <Setter Property="Command" Value="{Binding MapCommand, RelativeSource={RelativeSource AncestorType=Page}}"/>
            </Style>

            <Style x:Key="A_Style_SocialTile_Background"
                   TargetType="{Type FZMaterial}"
                   BasedOn="{StaticResource H_Style_Tile_Background}">
                <Style.Triggers>
                    <MultiDataTrigger>
                        <MultiDataTrigger.Conditions>
                            <Condition Binding="{Binding Tag, RelativeSource={RelativeSource AncestorType=FZButton}}" Value="Convoy"/>
                            <Condition Binding="{Binding ConvoyLeaderUserProfile, Converter={StaticResource H_TrueIfNotNull}, RelativeSource={RelativeSource AncestorType=Page}}" Value="True"/>
                        </MultiDataTrigger.Conditions>
                        <Setter Property="ImageSource" Value="/ForzaUI;component/Textures/Data_Bound/PauseMenu_Images/Convoy_Tile_NoIcon.png" />
                    </MultiDataTrigger>

                    <MultiDataTrigger>
                        <MultiDataTrigger.Conditions>
                            <Condition Binding="{Binding Tag, RelativeSource={RelativeSource AncestorType=FZButton}}" Value="PlayerList"/>
                            <Condition Binding="{Binding OnlineFriendUserProfile, Converter={StaticResource H_TrueIfNotNull}, RelativeSource={RelativeSource AncestorType=Page}}" Value="True"/>
                        </MultiDataTrigger.Conditions>
                        <Setter Property="ImageSource" Value="/ForzaUI;component/Textures/Data_Bound/PauseMenu_Images/JoinFriend_Tile_NoIcon.png" />
                    </MultiDataTrigger>
                </Style.Triggers>
            </Style>

            <DataTemplate x:Key="H_Template_SocialTile">
                <Grid>
                    <FZMaterial Style="{StaticResource A_Style_SocialTile_Background}" />
                    <FZMaterial Style="{StaticResource A_Style_ImageTile_LockMaterial}" />
                    <FZMaterial Height="200" Width="200" VerticalAlignment="Top" Margin="0,35" Preset="{Roundtangle CornerRadius=100}">
                        <local:FZMaterial.Style>
                            <Style TargetType="{x:Type local:FZMaterial}">
                                <Style.Triggers>
                                    <DataTrigger Binding="{Binding Tag, RelativeSource={RelativeSource AncestorType=FZButton}}" Value="Convoy">
                                        <Setter Property="ImageSource" Value="{Binding ConvoyLeaderUserProfile, RelativeSource={RelativeSource AncestorType=Page}, Converter={StaticResource A_GamerPicConverter}, ConverterParameter={StaticResource A_Size_JoinFriendGamerPicSizeParams}}" />
                                    </DataTrigger>
                                    <DataTrigger Binding="{Binding Tag, RelativeSource={RelativeSource AncestorType=FZButton}}" Value="PlayerList">
                                        <Setter Property="ImageSource" Value="{Binding OnlineFriendUserProfile, RelativeSource={RelativeSource AncestorType=Page}, Converter={StaticResource A_GamerPicConverter}, ConverterParameter={StaticResource A_Size_JoinFriendGamerPicSizeParams}}" />
                                    </DataTrigger>
                                    <MultiDataTrigger>
                                        <MultiDataTrigger.Conditions>
                                            <Condition Binding="{Binding Tag, RelativeSource={RelativeSource AncestorType=FZButton}}" Value="Convoy"/>
                                            <Condition Binding="{Binding ConvoyLeaderUserProfile, RelativeSource={RelativeSource AncestorType=Page}}" Value="{Null}"/>
                                        </MultiDataTrigger.Conditions>
                                        <Setter Property="Visibility" Value="{x:Static Visibility.Collapsed}"/>
                                    </MultiDataTrigger>
                                    <MultiDataTrigger>
                                        <MultiDataTrigger.Conditions>
                                            <Condition Binding="{Binding Tag, RelativeSource={RelativeSource AncestorType=FZButton}}" Value="PlayerList"/>
                                            <Condition Binding="{Binding OnlineFriendUserProfile, RelativeSource={RelativeSource AncestorType=Page}}" Value="{Null}"/>
                                        </MultiDataTrigger.Conditions>
                                        <Setter Property="Visibility" Value="{x:Static Visibility.Collapsed}"/>
                                    </MultiDataTrigger>
                                </Style.Triggers>
                            </Style>
                        </local:FZMaterial.Style>
                        
                        <FZMaterial Color="Black" VerticalAlignment="Bottom" Height="35" Margin="0,-15"
                                    Preset="{Roundtangle CornerRadius=20}">
                            <FZTextBlock Color="White" TextAlignment="Center" VerticalAlignment="Center" FontFamily="Horizon_C" CapHeight="28" Margin="15,0">
                                <local:FZTextBlock.Style>
                                    <Style TargetType="{x:Type local:FZTextBlock}">
                                        <Style.Triggers>
                                            <DataTrigger Binding="{Binding Tag, RelativeSource={RelativeSource AncestorType=FZButton}}" Value="Convoy">
                                                <Setter Property="Text" Value="{Binding ConvoyLeaderUserProfile.FormattedGamertag, RelativeSource={RelativeSource AncestorType=Page}}" />
                                            </DataTrigger>
                                            <DataTrigger Binding="{Binding Tag, RelativeSource={RelativeSource AncestorType=FZButton}}" Value="PlayerList">
                                                <Setter Property="Text" Value="{Binding OnlineFriendUserProfile.FormattedGamertag, RelativeSource={RelativeSource AncestorType=Page}}" />
                                            </DataTrigger>
                                        </Style.Triggers>
                                    </Style>
                                </local:FZTextBlock.Style>
                            </FZTextBlock>
                        </FZMaterial>
                    </FZMaterial>
                    <DockPanel
                        Style="{StaticResource H_Style_ImageTile_ContentsPanel}">
                        <FZTextBlock
                            Style="{StaticResource H_Style_ImageTile_HeadingText}"
                            DockPanel.Dock="Top"/>
                        <FZTextBlock
                            Style="{StaticResource H_Style_ImageTile_DescriptionText}"/>
                    </DockPanel>
                </Grid>
            </DataTemplate>

            <Style
                x:Key="H_Style_SocialTile_Default"
                TargetType="{Type FZButton}"
                BasedOn="{StaticResource H_Style_Tile}">
                <Setter Property="ContentTemplate" Value="{StaticResource H_Template_SocialTile}"/>
            </Style>

            <local:MappingConverter x:Key="A_Converter_CollapsedIfLocked" Default="Visible">
                <local:MappingConverterEntry Key="{x:Static local:LockState.Locked}" Value="Collapsed"/>
            </local:MappingConverter>

            <DataTemplate x:Key="H_Template_FestivalPassTile">
                <Grid>
                    <FZMaterial Style="{StaticResource H_Style_Tile_Background}" />
                    <FZMaterial Style="{StaticResource A_Style_ImageTile_LockBackground}" />
                    <FZMaterial Style="{StaticResource A_Style_ImageTile_LockMaterial}" />
                    <DockPanel Style="{StaticResource H_Style_ImageTile_ContentsPanel}" LastChildFill="False">
                        <FZTextBlock Style="{StaticResource H_Style_ImageTile_HeadingText}" DockPanel.Dock="Top"/>
                        <Grid DockPanel.Dock="Bottom" Margin="0,5,0,0"
                              Visibility="{Binding (local:TileMenuNavigationManager.LockState), RelativeSource={RelativeSource AncestorType=Button}, Converter={StaticResource A_Converter_CollapsedIfLocked}}">
                            <FZMaterial Preset="{Roundtangle CornerRadius=18}" Color="{StaticResource H_Color_Primary_Black}"/>
                            <FZTextBlock Text="{Binding FestivalPlaylistTimer, RelativeSource={RelativeSource AncestorType=Page}}"
                                         Margin="10"
                                         CapHeight="17" FontFamily="Horizon_A"
                                         Color="{StaticResource H_Color_Primary_White}"
                                         VerticalAlignment="Center" HorizontalAlignment="Center" />
                        </Grid>
                        <DockPanel DockPanel.Dock="Bottom" VerticalAlignment="Center" HorizontalAlignment="Left"
                                   Visibility="{Binding (local:TileMenuNavigationManager.LockState), RelativeSource={RelativeSource AncestorType=Button}, Converter={StaticResource A_Converter_CollapsedIfLocked}}">
                            <FZTextBlock Style="{StaticResource H_Style_ImageTile_DescriptionText}" DockPanel.Dock="Right" VerticalAlignment="Center"/>
                            <local:FZMaterial DockPanel.Dock="Left"
                                              Width="30" Height="30"
                                              ImageSource="/ForzaUI;component/Textures/Data_Bound/Anthem/Icons/Timer.png"
                                              Color="{StaticResource H_Color_Primary_White}"/>
                        </DockPanel>
                    </DockPanel>
                </Grid>
            </DataTemplate>

            <Style x:Key="H_Style_FestivalPassTile"
                   TargetType="{Type FZButton}"
                   BasedOn="{StaticResource H_Style_Tile}">
                <Setter  Property="ContentTemplate" Value="{StaticResource H_Template_FestivalPassTile}"/>
            </Style>

            <Style x:Key="H_Style_CloudSaveWarningIcon"
                TargetType="{Type FZMaterial}">
                <Setter Property="Margin" Value="0,0,4,0"/>
                <Setter Property="VerticalAlignment" Value="Center"/>
                <Setter Property="GetSizeFromTexture" Value="True"/>
                <Setter Property="Visibility" Value="Collapsed"/>
                <Style.Triggers>
                    <DataTrigger Binding="{Binding SyncAndExitShowWarning, RelativeSource={RelativeSource AncestorType=Page}}" Value="True">
                        <Setter Property="ImageSourceNoPreload" Value="/ForzaUI;component/Textures/Data_Bound/ui_symbols/CloudSaves_Offline_Warning.png" />
                        <Setter Property="Visibility" Value="{Binding Downloaded, RelativeSource={RelativeSource Self}, Converter={StaticResource A_FZBooleanToVisibilityConverter}}"/>
                    </DataTrigger>
                </Style.Triggers>
            </Style>

           <DataTemplate x:Key="H_Template_SyncAndExitTile">
                <FZMaterial
                    Style="{StaticResource H_Style_Tile_Background}">
                    <DockPanel
                        Style="{StaticResource H_Style_ImageTile_ContentsPanel}">
                        <FZTextBlock
                            Style="{StaticResource H_Style_SingleLineTextTile_HeadingText}"
                            DockPanel.Dock="Top" />
                        <DockPanel VerticalAlignment="Bottom" Margin="0,16,0,0">
                            <!--<FZMaterial Style="{StaticResource H_Style_CloudSaveWarningIcon}"
                                DockPanel.Dock="Left"/>-->
                            <FZTextBlock
                                Style="{StaticResource H_Style_ImageTile_DescriptionText}"
                                VerticalAlignment="Center" />
                        </DockPanel>
                    </DockPanel>
                </FZMaterial>
            </DataTemplate>

            <Style x:Key="H_Style_SyncAndExitTile"
                TargetType="{Type FZButton}"
                    BasedOn="{StaticResource H_Style_Tile}">
                <Setter Property="TileMenuNavigationManager.TileState" Value="{x:Static local:TileState.Disabled}"/>
                <Setter Property="ContentTemplate" Value="{StaticResource H_Template_SyncAndExitTile}"/>
                <Style.Triggers>
                    <MultiDataTrigger>
                        <MultiDataTrigger.Conditions>
                            <Condition Binding="{Binding IsPC, Source={StaticResource PART_UISceneContext}}" Value="True"/>
                            <Condition Binding="{Binding IsPlayFabInProcUploadingOnly, Source={StaticResource PART_UISceneContext}}" Value="True"/>
                        </MultiDataTrigger.Conditions>
                        <Setter Property="TileMenuNavigationManager.TileState" Value="{x:Static local:TileState.Enabled}"/>
                    </MultiDataTrigger>
                </Style.Triggers>
            </Style>
        </ResourceDictionary>
    </Page.Resources>
    <UIPageTransitionManager.TransitionManager>
        <UIPageTransitionManager Preset="{StaticResource A_UIPageTransitionManagerPreset_PauseMenu}" />
    </UIPageTransitionManager.TransitionManager>
    <PauseMenuTiled.ActiveMapView>
        <MapViewControllerTracking
            IsRotatedToCarHeading="False"
            MaxElevation="0"
            MinElevation="0"
            PositionInViewportX="0"
            PositionInViewportY="-0.1" 
            MinDistance="{Binding ActiveTrack, Converter={StaticResource A_Converter_MapTileZoomLevel}}"
            MaxDistance="{Binding ActiveTrack, Converter={StaticResource A_Converter_MapTileZoomLevel}}"
            MinFOV="90"
            MaxFOV="90" />
    </PauseMenuTiled.ActiveMapView>
    <Grid KeyboardNavigation.DirectionalNavigation="Contained"
          x:Name="PART_LayoutRoot"
          ScreenReader.Line="{Loc ScreenTitles.IDS_PauseMenu}"
          ScreenReader.Event="OnLoad"
          ScreenReader.LineType="ScreenTitle">
          <MappingConverterResourcePreloader Converter="{StaticResource A_Converter_BooleanToToggleIconImageSource}" ValueType="BitmapImage" />
        <!--Main Tile Content -->
        <Control Style="{StaticResource A_Style_Control_ScreenBackground}" />
        
        <!-- Bars -->
        <Decorator Style="{StaticResource A_Style_FrameworkElement_TiledMenuTransition_0}">
        <PlayerBarControl Style="{StaticResource A_Style_PlayerBarControl}"
                        Template="{StaticResource A_ControlTemplate_BigPlayerBar}"
                        Width="{Binding ActualWidth, ElementName=scene_decorator}"
                        x:Name="TopBar" />
        </Decorator>
        <ContentControl Style="{StaticResource A_Style_ButtonBar}"
                        x:Name="BottomBar">
            <ControllerButtonPanel x:Name="PART_HelpPanel"
                                 Style="{StaticResource A_Style_ControllerButtonPanel_Default}">
                <ControllerButtonControl Button="A"
                                               Description="{Loc HelpButtons.IDS_Select}" />
                <ControllerButtonControl Button="B"
                                               Description="{Loc HelpButtons.IDS_Back}" />
                <!-- On PC for wheels we can't guarantee that L3 will exist so map to X (unused) instead -->
                <ControllerButtonControl Button="X" />
                <ControllerButtonControl Button="L3" />
            </ControllerButtonPanel>
        </ContentControl>
        <Decorator
            x:Name="scene_decorator"
            Style="{StaticResource A_Style_FrameworkElement_LayoutRoot}"
            Width="Auto"
            Height="Auto"
            HorizontalAlignment="Center"
            VerticalAlignment="Center"
            Margin="0,-42,0,0">
            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto" />
                    <RowDefinition Height="Auto" />
                </Grid.RowDefinitions>

                <Decorator
                    Style="{StaticResource A_Style_FrameworkElement_TiledMenuTransition_0}"
                    Grid.Row="0">
                    <FZTabButtonsSelector
                        Margin="0,0,0,0"
                        Style="{StaticResource H_Style_TabBar}"
                        HorizontalContentAlignment="Center"
                        SelectedItem="{Binding (AttachedTileMenu.TileMenuNavigationManager).SelectedMenu, RelativeSource={RelativeSource AncestorType=Page}}"
                        x:Name="PART_MenuGroupsSelector">
                        <FZButton
                            Content="{Loc PauseMenu.IDS_CatTitle_Campaign}"
                            Style="{StaticResource H_Style_TabButton}"
                            Tag="{Binding NotificationBadgeCampaign}"
                            x:Name="PART_GROUP_Campaign" />
                        <FZButton
                            Content="{Loc PauseMenu.IDS_CatTitle_Cars}"
                            Style="{StaticResource H_Style_TabButton}"
                            Tag="{Binding NotificationBadgeCars}"
                            x:Name="PART_GROUP_Cars" />
                        <FZButton
                            Content="{Loc PauseMenu.IDS_CatTitle_MyHorizon}"
                            Style="{StaticResource H_Style_TabButton}"
                            Tag="{Binding NotificationBadgeMyHorizon}"
                            x:Name="PART_GROUP_MyHorizon" />
                        <FZButton
                            Content="{Loc PauseMenu.IDS_CatTitle_Online}"
                            Style="{StaticResource H_Style_TabButton}"
                            Tag="{Binding NotificationBadgeOnline}"
                            x:Name="PART_GROUP_Online" />
                        <FZButton
                            Content="{Loc PauseMenu.IDS_CatTitle_CreativeHub}"
                            Style="{StaticResource H_Style_TabButton}"
                            Tag="{Binding NotificationBadgeCreativeHub}"
                            x:Name="PART_GROUP_CreativeHub" />
                        <FZButton
                            Content="{Loc PauseMenu.IDS_CatTitle_Store}"
                            Style="{StaticResource H_Style_TabButton}"
                            Tag="{Binding NotificationBadgeStore}"
                            x:Name="PART_GROUP_Store" />
                    </FZTabButtonsSelector>
                </Decorator>

                <Grid
                    Grid.Row="1"
                    x:Name="PART_MenuContent"
                    Margin="0,20,0,0">
                    <Grid.RowDefinitions>
                        <RowDefinition Height="Auto"/>
                        <RowDefinition Height="Auto"/>
                    </Grid.RowDefinitions>

                    <Grid
                        x:Name="PART_SCOPE_Campaign"
                        Style="{StaticResource H_Style_Grid_5TileMenu}">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="*" />
                            <ColumnDefinition Width="*" />
                            <ColumnDefinition Width="*" />
                            <ColumnDefinition Width="*" />
                            <ColumnDefinition Width="*" />
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="*" />
                            <RowDefinition Height="*" />
                            <RowDefinition Height="*" />
                            <RowDefinition Height="*" />
                            <RowDefinition Height="*" />
                            <RowDefinition Height="*" />
                            <RowDefinition Height="*" />
                            <RowDefinition Height="*" />
                        </Grid.RowDefinitions>

                        <FZButton
                            x:Name="PART_Button_Campaign_FestivalPass"
                            Style="{StaticResource H_Style_FestivalPassTile}"
                            TileMenuNavigationManager.TextColorScheme="{Static TextColorScheme.Light}"
                            Grid.Column="4"
                            Grid.Row="0"
                            Grid.ColumnSpan="1"
                            Grid.RowSpan="8"
                            BindingProxy.A="{Binding Path=NotificationBadgeFestivalPass, RelativeSource={RelativeSource AncestorType=Page, Mode=FindAncestor}}"
                            Command="{Binding FestivalPassCommand, RelativeSource={RelativeSource AncestorType=Page}}"
                            TileMenuNavigationManager.TileState="{Binding CanQuitEvent, RelativeSource={RelativeSource AncestorType=Page}, Converter={StaticResource A_Converter_BooleanToTileState_Inverse}, FallbackValue={Static TileState.Disabled}}">
                            <FZButton.DataContext>
                                <TileMenuDataItem
                                    Heading="{Binding FestivalPlaylistTileTitle, RelativeSource={RelativeSource AncestorType=Page}}"
                                    Description="{Binding FestivalPlaylistTileDescription, RelativeSource={RelativeSource AncestorType=Page}}"
                                    Icon="/ForzaUI;component/Textures/Data_Bound/PauseMenu_Images/FestivalPass_Tile.png"/>
                            </FZButton.DataContext>
                        </FZButton> 

                        <!--<FZButton
                            x:Name="PART_Button_Campaign_SaveAndSync"
                            Grid.Column="3"
                            Grid.RowSpan="1"
                            PropertySetter.Property="{x:Null}"
                            TileMenuNavigationManager.TileState="{Binding IsPlayFabInProcUploadingOnly, Source={StaticResource PART_UISceneContext}, Converter={StaticResource A_Converter_BooleanToTileState}}"
                            Command="{Binding SaveAndSyncCommand, RelativeSource={RelativeSource AncestorType=Page}}">
                            <FZButton.Style>
                                <Style TargetType="{Type FZButton}"
                                        BasedOn="{StaticResource H_Style_SingleLineTextTile}">
                                    <Setter Property="Grid.Row" Value="6"/>
                                    <Style.Triggers>
                                        <DataTrigger Binding="{Binding IsPC, Source={StaticResource PART_UISceneContext}}" Value="False">
                                            <Setter Property="Grid.Row" Value="7" />
                                        </DataTrigger>
                                    </Style.Triggers>
                                </Style>
                            </FZButton.Style>
                            <FZButton.DataContext>
                                <TileMenuDataItem
                                    Heading="{Binding SaveAndSyncTitle, RelativeSource={RelativeSource AncestorType=Page}}"
                                    Description="{Binding SaveAndSyncDescription, RelativeSource={RelativeSource AncestorType=Page}}"/>
                            </FZButton.DataContext>
                        </FZButton>-->

                        <FZButton
                            x:Name="PART_Button_Campaign_ExitToDesktop"
                            Grid.Row="7"
                            Grid.Column="3"
                            Grid.RowSpan="1"
                            Style="{StaticResource H_Style_SingleLineTextTile}"
                            Command="{Binding ExitToDesktopCommand, RelativeSource={RelativeSource AncestorType=Page}}">
                            <FZButton.Style>
                                <Style TargetType="{Type FZButton}"
                                        BasedOn="{StaticResource H_Style_SingleLineTextTile}">
                                    <Setter Property="TileMenuNavigationManager.TileState" Value="{x:Static local:TileState.Disabled}"/>
                                    <Style.Triggers>
                                        <MultiDataTrigger>
                                            <MultiDataTrigger.Conditions>
                                                <Condition Binding="{Binding IsPC, Source={StaticResource PART_UISceneContext}}" Value="True"/>
                                                <Condition Binding="{Binding IsPlayFabInProcUploadingOnly, Source={StaticResource PART_UISceneContext}}" Value="False"/>
                                            </MultiDataTrigger.Conditions>
                                            <Setter Property="TileMenuNavigationManager.TileState" Value="{x:Static local:TileState.Enabled}"/>
                                        </MultiDataTrigger>
                                    </Style.Triggers>
                                </Style>
                            </FZButton.Style>
                            <FZButton.DataContext>
                                <TileMenuDataItem 
                                    Heading="{Loc PauseMenu.IDS_TileTitle_ExitToDesktop}" />
                            </FZButton.DataContext>
                        </FZButton>

                        <FZButton
                            x:Name="PART_Button_Campaign_SyncAndExit"
                            Grid.Row="6"
                            Grid.Column="3"
                            Grid.ColumnSpan="1"
                            Grid.RowSpan="2"
                            Command="{Binding SyncAndExitCommand, RelativeSource={RelativeSource AncestorType=Page}}"
                            Style="{StaticResource H_Style_SyncAndExitTile}">
                            <FZButton.DataContext>
                                <TileMenuDataItem
                                    Heading="{Binding SyncAndExitTitle, RelativeSource={RelativeSource AncestorType=Page}}"
                                    Description="{Binding SyncAndExitDescription, RelativeSource={RelativeSource AncestorType=Page}}" />
                            </FZButton.DataContext>
                        </FZButton>

                        <FZButton
                            x:Name="PART_Button_Campaign_CampaignProgress"
                            BindingProxy.A="{Binding Path=NotificationBadgeCampaignProgress, RelativeSource={RelativeSource AncestorType=Page, Mode=FindAncestor}}"
                            Style="{StaticResource H_Style_ImageTile}"
                            TileMenuNavigationManager.TextColorScheme="{Static TextColorScheme.Light}"
                            Grid.Column="0"
                            Grid.Row="0"
                            Grid.ColumnSpan="1"
                            Grid.RowSpan="8"
                            Command="{Binding CampaignProgressCommand, RelativeSource={RelativeSource AncestorType=Page}}"
                            TileMenuNavigationManager.TileState="{Binding CanRestartEvent, RelativeSource={RelativeSource AncestorType=Page}, Converter={StaticResource A_Converter_BooleanToTileState_Inverse}, FallbackValue={Static TileState.Disabled}}">
                            <FZButton.DataContext>
                                <TileMenuDataItem
                                    Heading="{Loc PauseMenu.IDS_TileTitle_CampaignProgress}"
                                    Description="{Loc PauseMenu.IDS_TileText_CampaignProgress}" 
                                    Icon="/ForzaUI;component/Textures/Data_Bound/PauseMenu_Images/CampaignProgress_Tile.png"/>
                            </FZButton.DataContext>
                        </FZButton>

                        <FZButton
                            x:Name="PART_Button_Campaign_GoldenPath"
                            Style="{StaticResource H_Style_ImageTile}"
                            Grid.Column="1"
                            Grid.Row="4"
                            Grid.RowSpan="4"
                            Grid.ColumnSpan="2"
                            Command="{Binding GoldenPathCommand, RelativeSource={RelativeSource AncestorType=Page}}">
                            <FZButton.DataContext>
                                <TileMenuDataItem
                                    Heading="{Loc PauseMenu.IDS_TileTitle_GoldenPath}"
                                    Description="{Loc PauseMenu.IDS_TileText_GoldenPath}"
                                    Icon="{Binding (Grid.ColumnSpan), RelativeSource={RelativeSource AncestorType=FZButton}, Converter={StaticResource A_Converter_ColumnSpan_To_GoldenPath_Icon}}"/>
                            </FZButton.DataContext>
                        </FZButton>

                        <FZButton
                            x:Name="PART_Button_Campaign_Settings"
                            Grid.Column="3"
                            Grid.Row="4"
                            PropertySetter.Property="{x:Null}"
                            Command="{Binding SettingsCommand, RelativeSource={RelativeSource AncestorType=Page}}">
                            <FZButton.Style>
                                <Style TargetType="{Type FZButton}"
                                        BasedOn="{StaticResource H_Style_MultiLineTextTile}">
                                    <Setter Property="Grid.RowSpan" Value="4"/>
                                    <Style.Triggers>
                                        <DataTrigger Binding="{Binding IsPC, Source={StaticResource PART_UISceneContext}}" Value="True">
                                            <Setter Property="Grid.RowSpan" Value="3" />
                                        </DataTrigger>
                                        <DataTrigger Binding="{Binding IsPlayFabInProcUploadingOnly, Source={StaticResource PART_UISceneContext}}" Value="True">
                                            <Setter Property="Grid.RowSpan" Value="3" />
                                        </DataTrigger>
                                        <MultiDataTrigger>
                                            <MultiDataTrigger.Conditions>
                                                <Condition Binding="{Binding IsPC, Source={StaticResource PART_UISceneContext}}" Value="True"/>
                                                <Condition Binding="{Binding IsPlayFabInProcUploadingOnly, Source={StaticResource PART_UISceneContext}}" Value="True"/>
                                            </MultiDataTrigger.Conditions>
                                            <Setter Property="Grid.RowSpan" Value="2" />
                                        </MultiDataTrigger>
                                    </Style.Triggers>
                                </Style>
                            </FZButton.Style>
                            <FZButton.DataContext>
                                <TileMenuDataItem
                                    Heading="{Loc PauseMenu.IDS_TileTitle_Settings}"
                                    Description="{Loc PauseMenu.IDS_TileText_Settings}" />
                            </FZButton.DataContext>
                        </FZButton>

                        <FZButton
                            x:Name="PART_Button_Campaign_Map"
                            Style="{StaticResource H_Style_WorldMapTile_Default}"
                            BindingProxy.A="{Binding Path=NotificationBadgeMap, RelativeSource={RelativeSource AncestorType=Page, Mode=FindAncestor}}"
                            TileMenuNavigationManager.TextColorScheme="{Static TextColorScheme.Dark}"
                            TileMenuNavigationManager.InitialSelection="True"
                            Grid.Column="1"
                            Grid.Row="0"
                            Grid.ColumnSpan="3" 
                            Grid.RowSpan="4"
                            Tag="{StaticResource A_Boolean_True}">
                            <FZButton.DataContext>
                                <TileMenuDataItem
                                    Heading="{Loc PauseMenu.IDS_TileTitle_Map}"
                                    Description="{Binding WorldMapTileDescription, RelativeSource={RelativeSource AncestorType=Page}}"/>
                            </FZButton.DataContext>
                        </FZButton>
                        <FZButton
                            x:Name="PART_Button_Campaign_QuitEvent"
                            Style="{StaticResource H_Style_ImageTile}"
                            Command="{Binding QuitEventCommand, RelativeSource={RelativeSource AncestorType=Page}}"
                            Grid.Column="4"
                            Grid.Row="0"
                            Grid.ColumnSpan="1"
                            Grid.RowSpan="8"
                            TileMenuNavigationManager.TileState="{Binding CanQuitEvent, RelativeSource={RelativeSource AncestorType=Page}, Converter={StaticResource A_Converter_BooleanToTileState}, FallbackValue={Static TileState.Disabled}}">
                            <FZButton.DataContext>
                                <TileMenuDataItem
                                    Heading="{Binding CurrentEventState, RelativeSource={RelativeSource AncestorType=Page}, Converter={StaticResource H_PauseMenuEventState_ToQuitEventHeading}}"
                                    Description="{Binding CurrentEventState, RelativeSource={RelativeSource AncestorType=Page}, Converter={StaticResource H_PauseMenuEventState_ToQuitEventDescription}}"
                                    Icon="/ForzaUI;component/Textures/Data_Bound/PauseMenu_Images/Quit_Event.png"
                                    />
                            </FZButton.DataContext>
                        </FZButton>
                        <FZButton
                            x:Name="PART_Button_Campaign_RestartEvent"
                            Style="{StaticResource H_Style_ImageTile}"
                            Command="{Binding RestartEventCommand, RelativeSource={RelativeSource AncestorType=Page}}"
                            Grid.Column="0"
                            Grid.Row="0"
                            Grid.ColumnSpan="1"
                            Grid.RowSpan="8"
                            TileMenuNavigationManager.TileState="{Binding CanRestartEvent, RelativeSource={RelativeSource AncestorType=Page}, Converter={StaticResource A_Converter_BooleanToTileState}, FallbackValue={Static TileState.Disabled}}">
                            <FZButton.DataContext>
                                <TileMenuDataItem
                                    Heading="{Loc PauseMenu.IDS_TileTitle_RestartEvent}"
                                    Description="{Loc PauseMenu.IDS_TileText_RestartEvent}"
                                    Icon="/ForzaUI;component/Textures/Data_Bound/PauseMenu_Images/Restart_Event.png"/>
                            </FZButton.DataContext>
                        </FZButton>
                    </Grid>

                    <Grid
                        Style="{StaticResource H_Style_Grid_5TileMenu}"
                        x:Name="PART_SCOPE_MyHorizon">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="*" />
                            <ColumnDefinition Width="*" />
                            <ColumnDefinition Width="*" />
                            <ColumnDefinition Width="*" />
                            <ColumnDefinition Width="*" />
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="*" />
                            <RowDefinition Height="*" />
                            <RowDefinition Height="*" />
                            <RowDefinition Height="*" />
                            <RowDefinition Height="*" />
                            <RowDefinition Height="*" />
                            <RowDefinition Height="*" />
                            <RowDefinition Height="*" />
                        </Grid.RowDefinitions>

                        <MessagesLiveTile x:Name="PART_Button_MyHorizon_MessageCenter"
                                          Style="{StaticResource H_Style_MultiLineTextTile}"
                                          BindingProxy.A="{Binding Path=NotificationBadgeMessageCenter, RelativeSource={RelativeSource AncestorType=Page, Mode=FindAncestor}}"
                                          Grid.Column="3"
                                          Grid.Row="4"
                                          Grid.ColumnSpan="1"
                                          Grid.RowSpan="2"
                                          Command="{Binding MessageCenterCommand, RelativeSource={RelativeSource AncestorType=Page}}"
                                          MaxMessages="5">
                            <MessagesLiveTile.DataContext>
                                <TileMenuDataItem
                                    Heading="{Loc PauseMenu.IDS_TileTitle_MessageCenter}"
                                    Description="{Loc PauseMenu.IDS_TileText_MessageCenter}" />
                            </MessagesLiveTile.DataContext>
                        </MessagesLiveTile>

                        <FZButton
                            x:Name="PART_Button_MyHorizon_Badges"
                            Grid.Column="3"
                            Grid.Row="7"
                            Grid.ColumnSpan="1"
                            Grid.RowSpan="1"
                            Style="{StaticResource H_Style_SingleLineTextTile}"
                            PropertySetter.Property="{x:Null}"
                            Command="{Binding BadgesCommand, RelativeSource={RelativeSource AncestorType=Page}}"
                            BindingProxy.A="{Binding Path=NotificationBadgeBadges, RelativeSource={RelativeSource AncestorType=Page, Mode=FindAncestor}}">
                            <FZButton.DataContext>
                                <TileMenuDataItem
                                    Heading="{Loc PauseMenu.IDS_TileTitle_Badges}"
                                    Description="{Loc PauseMenu.IDS_TileText_Badges}"/>
                            </FZButton.DataContext>
                        </FZButton>
                        <FZButton
                            x:Name="PART_Button_MyHorizon_Stats"
                            Style="{StaticResource H_Style_SingleLineTextTile}"
                            Grid.Column="3"
                            Grid.Row="6"
                            Grid.ColumnSpan="1"
                            Grid.RowSpan="1"
                            PropertySetter.Property="{x:Null}"
                            Command="{Binding StatsCommand, RelativeSource={RelativeSource AncestorType=Page}}">
                            <FZButton.DataContext>
                                <TileMenuDataItem
                                    Heading="{Loc PauseMenu.IDS_TileTitle_Stats}"
                                    Description="{Loc PauseMenu.IDS_TileText_Stats}" />
                            </FZButton.DataContext>
                        </FZButton>
                        <FZButton
                            x:Name="PART_Button_MyHorizon_Tombola"
                            Style="{StaticResource H_Style_ImageTile}"
                            Grid.Column="4"
                            Grid.Row="0"
                            Grid.ColumnSpan="1"
                            Grid.RowSpan="7"
                            BindingProxy.A="{Binding Path=NotificationBadgeTombola, RelativeSource={RelativeSource AncestorType=Page, Mode=FindAncestor}}"
                            Command="{Binding TombolaCommand, RelativeSource={RelativeSource AncestorType=Page}}">
                            <FZButton.DataContext>
                                <TileMenuDataItem
                                    Heading="{Loc PauseMenu.IDS_TileTitle_Tombola}"
                                    Description="{Binding TombolaTileDescription, RelativeSource={RelativeSource AncestorType=Page}}"
                                    Icon="/ForzaUI;component/Textures/Data_Bound/PauseMenu_Images/Tombola_Tile.png" />
                            </FZButton.DataContext>
                        </FZButton>
                        <FZButton x:Name="PART_Button_MyHorizon_SuperTombola"
                            Style="{StaticResource H_Style_ImageTile}"
                            Grid.Column="0"
                            Grid.Row="0"
                            Grid.ColumnSpan="1"
                            Grid.RowSpan="8"
                            BindingProxy.A="{Binding Path=NotificationBadgeSuperTombola, RelativeSource={RelativeSource AncestorType=Page, Mode=FindAncestor}}"
                            Command="{Binding SuperTombolaCommand, RelativeSource={RelativeSource AncestorType=Page}}">
                            <FZButton.DataContext>
                                <TileMenuDataItem
                                    Heading="{Loc PauseMenu.IDS_TileTitle_SuperTombola}"
                                    Description="{Binding SuperTombolaTileDescription, RelativeSource={RelativeSource AncestorType=Page}}" 
                                    Icon="/ForzaUI;component/Textures/Data_Bound/PauseMenu_Images/SuperTombola_Tile.png"/>
                            </FZButton.DataContext>
                        </FZButton>
                        <FZButton
                            x:Name="PART_Button_MyHorizon_EstateMenu"
                            Style="{StaticResource H_Style_ImageTile}"
                            Grid.Column="1"
                            Grid.Row="4"
                            Grid.ColumnSpan="2"
                            Grid.RowSpan="4"
                            Command="{Binding EstateMenuCommand, RelativeSource={RelativeSource AncestorType=Page}}">
                            <FZButton.DataContext>
                                <TileMenuDataItem
                                    Heading="{Loc PauseMenu.IDS_TileTitle_EstateMenu}"
                                    Description="{Loc PauseMenu.IDS_TileText_EstateMenu}"
                                    Icon="/ForzaUI;component/Textures/Data_Bound/PauseMenu_Images/EstateMenu_Tile.png"/>
                            </FZButton.DataContext>
                        </FZButton>
                        <FZButton
                            x:Name="PART_Button_MyHorizon_DroneMode"
                            Style="{StaticResource H_Style_SingleLineTextTile}"
                            Grid.Column="4"
                            Grid.Row="7"
                            Grid.ColumnSpan="1"
                            Grid.RowSpan="1"
                            Command="{Binding DroneModeCommand, RelativeSource={RelativeSource AncestorType=Page}}">
                            <FZButton.DataContext>
                                <TileMenuDataItem
                                    Heading="{Loc PauseMenu.IDS_TileTitle_DroneMode}" />
                            </FZButton.DataContext>
                        </FZButton>
                        <FZButton
                            x:Name="PART_Button_MyHorizon_CustomiseCharacter"
                            Style="{StaticResource H_Style_VideoTile}"
                            TileMenuNavigationManager.TextColorScheme="{Static TextColorScheme.Light}"
                            Grid.Column="1"
                            Grid.Row="0"
                            Grid.ColumnSpan="3"
                            Grid.RowSpan="4"
                            Command="{Binding GoToHomeCommand, RelativeSource={RelativeSource AncestorType=Page}}"
                            TileMenuNavigationManager.InitialSelection="True">
                            <FZButton.DataContext>
                                <VideoTileMenuDataItem
                                    Heading="{Loc PauseMenu.IDS_TileTitle_CustomiseCharacter}"
                                    Description="{Loc PauseMenu.IDS_TileText_CustomiseCharacter}"
                                    Icon="/ForzaUI;component/Textures/Data_Bound/PauseMenu_Images/CustomiseCharacter_Tile.png"
                                    Source="game:/Media/UI/Videos/My_Horizon_Tab_Animation.bk2"/>
                            </FZButton.DataContext>
                        </FZButton>
                    </Grid>

                    <Grid
                        Style="{StaticResource H_Style_Grid_5TileMenu}"
                        x:Name="PART_SCOPE_Online">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="*" />
                            <ColumnDefinition Width="*" />
                            <ColumnDefinition Width="*" />
                            <ColumnDefinition Width="*" />
                            <ColumnDefinition Width="*" />
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="*" />
                            <RowDefinition Height="*" />
                            <RowDefinition Height="*" />
                            <RowDefinition Height="*" />
                            <RowDefinition Height="*" />
                            <RowDefinition Height="*" />
                            <RowDefinition Height="*" />
                            <RowDefinition Height="*" />
                        </Grid.RowDefinitions>

                        <FZButton
                            x:Name="PART_Button_Online_HorizonOpen"
                            Style="{StaticResource H_Style_VideoTile}"
                            TileMenuNavigationManager.TextColorScheme="{Static TextColorScheme.HeaderlessDark}"
                            TileMenuNavigationManager.InitialSelection="True"
                            Grid.Column="1"
                            Grid.Row="0"
                            Grid.ColumnSpan="3"
                            Grid.RowSpan="4"
                            Command="{Binding HorizonOpenCommand, RelativeSource={RelativeSource AncestorType=Page}}">
                            <FZButton.DataContext>
                                <VideoTileMenuDataItem
                                    Heading="{Loc PauseMenu.IDS_TileTitle_HorizonOpen}"
                                    Description="{Loc PauseMenu.IDS_TileText_HorizonOpen}"
                                    Icon="/ForzaUI;component/Textures/Data_Bound/PauseMenu_Images/HorizonOpen_Tile.png"
                                    LockedIcon="/ForzaUI;component/Textures/Data_Bound/PauseMenu_Images/HorizonOpen_Locked.png"
                                    Source="game:/Media/UI/Videos/Online_Tab_Animation.bk2"/>
                            </FZButton.DataContext>
                        </FZButton>

                        <FZButton
                            x:Name="PART_Button_Online_Rivals"
                            Style="{StaticResource H_Style_ImageTile}"
                            TileMenuNavigationManager.TextColorScheme="{Static TextColorScheme.Light}"
                            BindingProxy.A="{Binding Path=NotificationBadgeRivals, RelativeSource={RelativeSource AncestorType=Page, Mode=FindAncestor}}"
                            Grid.Column="1"
                            Grid.Row="4"
                            Grid.ColumnSpan="2"
                            Grid.RowSpan="4"
                            Command="{Binding RivalsCommand, RelativeSource={RelativeSource AncestorType=Page}}">
                            <FZButton.DataContext>
                                <TileMenuDataItem
                                    Heading="{Loc PauseMenu.IDS_TileTitle_Rivals}"
                                    Description="{Loc PauseMenu.IDS_TileText_Rivals}"
                                    Icon="/ForzaUI;component/Textures/Data_Bound/PauseMenu_Images/Rivals_Tile.png"/>
                            </FZButton.DataContext>
                        </FZButton>

                        <FZButton
                            x:Name="PART_Button_Online_HorizonOnline"
                            Style="{StaticResource H_Style_MultiLineTextTile}"
                            Grid.Column="3"
                            Grid.Row="6"
                            Grid.ColumnSpan="1"
                            Grid.RowSpan="2"
                            TileMenuNavigationManager.TileState="{Binding IsInMultiplayerOrMatchmaking, RelativeSource={RelativeSource AncestorType=Page}, Converter={StaticResource A_Converter_BooleanToTileState_Inverse}, FallbackValue={Static TileState.Enabled}}"
                            Command="{Binding HorizonOnlineCommand, RelativeSource={RelativeSource AncestorType=Page}}">
                            <FZButton.DataContext>
                                <TileMenuDataItem
                                    Heading="{Loc PauseMenu.IDS_TileTitle_HorizonOnline}" />
                            </FZButton.DataContext>
                        </FZButton>

                        <FZButton
                            x:Name="PART_Button_Online_HorizonSolo"
                            Style="{StaticResource H_Style_MultiLineTextTile}"
                            Grid.Column="3"
                            Grid.Row="6"
                            Grid.ColumnSpan="1"
                            Grid.RowSpan="2"
                            TileMenuNavigationManager.TileState="{Binding IsInMultiplayerOrMatchmaking, RelativeSource={RelativeSource AncestorType=Page}, Converter={StaticResource A_Converter_BooleanToTileState}, FallbackValue={Static TileState.Disabled}}"
                            Command="{Binding HorizonSoloCommand, RelativeSource={RelativeSource AncestorType=Page}}">
                            <FZButton.DataContext>
                                <TileMenuDataItem
                                    Heading="{Loc PauseMenu.IDS_TileTitle_HorizonSolo}" />
                            </FZButton.DataContext>
                        </FZButton>

                        <FZButton
                            x:Name="PART_Button_Online_PlayerList"
                            Style="{StaticResource H_Style_SocialTile_Default}"
                            Grid.Column="4"
                            Grid.Row="0"
                            Grid.ColumnSpan="1"
                            Grid.RowSpan="8"
                            Command="{Binding PlayerListCommand, RelativeSource={RelativeSource AncestorType=Page}}"
                            Tag="PlayerList">
                            <FZButton.DataContext>
                                <TileMenuDataItem
                                    Heading="{Loc PauseMenu.IDS_TileTitle_PlayerList}"
                                    Description="{Binding PlayerListTileDescription, RelativeSource={RelativeSource AncestorType=Page}}" 
                                    Icon="/ForzaUI;component/Textures/Data_Bound/PauseMenu_Images/JoinFriend_Tile.png"/>
                            </FZButton.DataContext>
                        </FZButton>
                          <FZButton
                            x:Name="PART_Button_Online_Convoy"
                            Style="{StaticResource H_Style_SocialTile_Default}"
                            Grid.Column="0"
                            Grid.Row="0"
                            Grid.ColumnSpan="1"
                            Grid.RowSpan="8"
                            Command="{Binding ConvoyCommand, RelativeSource={RelativeSource AncestorType=Page}}"
                            Tag="Convoy">
                            <FZButton.DataContext>
                                <TileMenuDataItem
                                    Heading="{Loc PauseMenu.IDS_TileTitle_Convoy}"
                                    Description="{Binding ConvoyTileDescription, RelativeSource={RelativeSource AncestorType=Page}}" 
                                    Icon="/ForzaUI;component/Textures/Data_Bound/PauseMenu_Images/Convoy_Tile.png"/>
                            </FZButton.DataContext>
                        </FZButton>

                        <FZButton
                            x:Name="PART_Button_Online_QuickChat"
                            Style="{StaticResource H_Style_MultiLineTextTile}"
                            Grid.Column="3"
                            Grid.Row="4"
                            Grid.ColumnSpan="1"
                            Grid.RowSpan="2"
                            Command="{Binding QuickChatCommand, RelativeSource={RelativeSource AncestorType=Page}}">
                            <FZButton.DataContext>
                                <TileMenuDataItem
                                    Heading="{Loc PauseMenu.IDS_TileTitle_QuickChat}" />
                            </FZButton.DataContext>
                        </FZButton>
                    </Grid>

                    <Grid
                        Style="{StaticResource H_Style_Grid_5TileMenu}"
                        x:Name="PART_SCOPE_CreativeHub">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="*" />
                            <ColumnDefinition Width="*" />
                            <ColumnDefinition Width="*" />
                            <ColumnDefinition Width="*" />
                            <ColumnDefinition Width="*" />
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="*" />
                            <RowDefinition Height="*" />
                            <RowDefinition Height="*" />
                            <RowDefinition Height="*" />
                            <RowDefinition Height="*" />
                            <RowDefinition Height="*" />
                            <RowDefinition Height="*" />
                            <RowDefinition Height="*" />
                        </Grid.RowDefinitions>

                        <FZButton
                            x:Name="PART_Button_CreativeHub_MyShowroom"
                            Style="{StaticResource H_Style_ImageTile}"
                            Grid.Column="4"
                            Grid.ColumnSpan="1"
                            Grid.RowSpan="4"
                            Grid.Row="0"
                            Command="{Binding MyShowroomCommand, RelativeSource={RelativeSource AncestorType=Page}}" >
                            <FZButton.DataContext>
                                <TileMenuDataItem
                                    Heading="{Loc TiledMenus.IDS_TileTitle_MyShowroom}"
                                    Description="{Loc TiledMenus.IDS_TileText_MyShowroom}" />
                            </FZButton.DataContext>
                        </FZButton>
                        <FZButton
                            x:Name="PART_Button_CreativeHub_Photos"
                            Style="{StaticResource H_Style_SingleLineTextTile}"
                            Grid.Column="4"
                            Grid.Row="7"
                            Command="{Binding PhotosCommand, RelativeSource={RelativeSource AncestorType=Page}}" >
                            <FZButton.DataContext>
                                <TileMenuDataItem
                                    Heading="{Loc PauseMenu.IDS_TileTitle_PhotoGallery}"
                                    Description="{Loc PauseMenu.IDS_TileText_PhotoGallery}"/>
                            </FZButton.DataContext>
                        </FZButton>
                        <FZButton
                            x:Name="PART_Button_CreativeHub_Blueprints"
                            Style="{StaticResource H_Style_VideoTile}"
                            TileMenuNavigationManager.TextColorScheme="{Static TextColorScheme.HeaderlessDark}"
                            TileMenuNavigationManager.InitialSelection="True"
                            Grid.Column="1"
                            Grid.Row="0"
                            Grid.ColumnSpan="3"
                            Grid.RowSpan="4"
                            Command="{Binding BlueprintsCommand, RelativeSource={RelativeSource AncestorType=Page}}">
                            <FZButton.DataContext>
                                <VideoTileMenuDataItem
                                    Heading="{Loc PauseMenu.IDS_TileTitle_Blueprints}"
                                    Description="{Loc PauseMenu.IDS_TileText_Blueprints}"
                                    Icon="/ForzaUI;component/Textures/Data_Bound/PauseMenu_Images/Blueprints_Tile.png"
                                    LockedIcon="/ForzaUI;component/Textures/Data_Bound/PauseMenu_Images/Blueprints_Locked.png"
                                    Source="game:/Media/UI/Videos/Creative_Hub_Tab_Animation.bk2"/>
                            </FZButton.DataContext>
                        </FZButton>
                        <FZButton
                            x:Name="PART_Button_CreativeHub_Tunings"
                            Style="{StaticResource H_Style_SingleLineTextTile}"
                            Grid.Column="4"
                            Grid.Row="5"
                            Command="{Binding TuningsCommand, RelativeSource={RelativeSource AncestorType=Page}}">
                            <FZButton.DataContext>
                                <TileMenuDataItem
                                    Heading="{Loc PauseMenu.IDS_TileTitle_TuningSetups}"
                                    Description="{Loc PauseMenu.IDS_TileText_TuningSetups}" />
                            </FZButton.DataContext>
                        </FZButton>
                        <FZButton
                            x:Name="PART_Button_CreativeHub_VinylGroups"
                            Style="{StaticResource H_Style_SingleLineTextTile}"
                            Grid.Column="4"
                            Grid.Row="4"
                            Command="{Binding VinylGroupsCommand, RelativeSource={RelativeSource AncestorType=Page}}">
                            <FZButton.DataContext>
                                <TileMenuDataItem
                                    Heading="{Loc PauseMenu.IDS_TileTitle_VinylGroups}"
                                    Description="{Loc PauseMenu.IDS_TileText_VinylGroups}" />
                            </FZButton.DataContext>
                        </FZButton>
                        <FZButton
                            x:Name="PART_Button_CreativeHub_PhotoMode"
                            Style="{StaticResource H_Style_SingleLineTextTile}"
                            Grid.Column="4"
                            Grid.Row="6"
                            Command="{Binding PhotoModeCommand, RelativeSource={RelativeSource AncestorType=Page}}">
                            <FZButton.DataContext>
                                <TileMenuDataItem
                                    Heading="{Loc PauseMenu.IDS_TileTitle_PhotoMode}" />
                            </FZButton.DataContext>
                        </FZButton>
                        <FZButton
                            x:Name="PART_Button_CreativeHub_Paints"
                            Style="{StaticResource H_Style_ImageTile}"
                            Grid.Column="3"
                            Grid.Row="4"
                            Grid.RowSpan="4"
                            Grid.ColumnSpan="1"
                            Command="{Binding PaintsCommand, RelativeSource={RelativeSource AncestorType=Page}}">
                            <FZButton.DataContext>
                                <TileMenuDataItem
                                    Heading="{Loc PauseMenu.IDS_TileTitle_Paints}"
                                    Description="{Loc PauseMenu.IDS_TileText_Paints}" />
                            </FZButton.DataContext>
                        </FZButton>
                        <FZButton
                            x:Name="PART_Button_Browse_Estates"
                            Style="{StaticResource H_Style_ImageTile}"
                            TileMenuNavigationManager.TextColorScheme="{Static TextColorScheme.Light}"
                            Grid.Column="0"
                            Grid.ColumnSpan="1"
                            Grid.Row="0"
                            Grid.RowSpan="8"
                            Command="{Binding BrowseEstatesCommand, RelativeSource={RelativeSource AncestorType=Page}}">
                            <FZButton.DataContext>
                                <TileMenuDataItem
                                    Heading="{Loc PauseMenu.IDS_TileTitle_Browse_Estates}" 
                                    Description="{Loc PauseMenu.IDS_TileText_Browse_Estates}"
                                    Icon="/ForzaUI;component/Textures/Data_Bound/PauseMenu_Images/BrowseEstates_Tile.png"/>
                            </FZButton.DataContext>
                        </FZButton>
                        <FZButton
                            x:Name="PART_Button_Browse_Garage_Layouts"
                            Style="{StaticResource H_Style_ImageTile}"
                            Grid.Column="1"
                            Grid.Row="4"
                            Grid.RowSpan="4"
                            Grid.ColumnSpan="2"
                            Command="{Binding BrowseGarageLayoutsCommand, RelativeSource={RelativeSource AncestorType=Page}}">
                            <FZButton.DataContext>
                                <TileMenuDataItem
                                    Heading="{Loc PauseMenu.IDS_TileTitle_Browse_Garage_Layouts}"
                                    Description="{Loc PauseMenu.IDS_TileText_Browse_Garage_Layouts}"
                                    Icon="/ForzaUI;component/Textures/Data_Bound/PauseMenu_Images/BrowseGarageLayouts_Tile.png"/>
                            </FZButton.DataContext>
                        </FZButton>
                    </Grid>

                    <Grid
                        Style="{StaticResource H_Style_Grid_5TileMenu}"
                        x:Name="PART_SCOPE_Cars">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="*" />
                            <ColumnDefinition Width="*" />
                            <ColumnDefinition Width="*" />
                            <ColumnDefinition Width="*" />
                            <ColumnDefinition Width="*" />
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="*" />
                            <RowDefinition Height="*" />
                            <RowDefinition Height="*" />
                            <RowDefinition Height="*" />
                            <RowDefinition Height="*" />
                            <RowDefinition Height="*" />
                            <RowDefinition Height="*" />
                            <RowDefinition Height="*" />
                        </Grid.RowDefinitions>
                        <FZButton
                            x:Name="PART_Button_Cars_CarMastery"
                            Style="{StaticResource H_Style_ImageTile}"
                            Grid.Column="1"
                            Grid.Row="4"
                            Grid.ColumnSpan="2"
                            Grid.RowSpan="4"
                            BindingProxy.A="{Binding Path=NotificationBadgeCarMastery, RelativeSource={RelativeSource AncestorType=Page, Mode=FindAncestor}}"
                            Command="{Binding CarMasteryCommand, RelativeSource={RelativeSource AncestorType=Page}}">
                            <FZButton.DataContext> 
                                <TileMenuDataItem
                                    Heading="{Loc PauseMenu.IDS_TileTitle_CarMastery}"
                                    Description="{Binding CarMasteryTileDescription, RelativeSource={RelativeSource AncestorType=Page}}"
                                    Icon="/ForzaUI;component/Textures/Data_Bound/PauseMenu_Images/CarMastery_Tile.png"/>
                            </FZButton.DataContext>
                        </FZButton>
                        <FZButton
                            x:Name="PART_Button_Cars_GoToAutoshow"
                            Style="{StaticResource H_Style_ImageTile}"
                            Grid.Column="0"
                            Grid.Row="0"
                            Grid.ColumnSpan="1"
                            Grid.RowSpan="8"
                            BindingProxy.A="{Binding Path=NotificationBadgeBuyCar, RelativeSource={RelativeSource AncestorType=Page, Mode=FindAncestor}}"
                            Command="{Binding GoToAutoshowCommand, RelativeSource={RelativeSource AncestorType=Page}}">
                            <FZButton.DataContext>
                                <TileMenuDataItem
                                    Heading="{Loc PauseMenu.IDS_TileTitle_BuyCar}"
                                    Description="{Loc PauseMenu.IDS_TileText_BuyCar}"
                                    Icon="/ForzaUI;component/Textures/Data_Bound/PauseMenu_Images/Autoshow_Tile.png"/>
                            </FZButton.DataContext>
                        </FZButton>
                     <FZButton
                            x:Name="PART_Button_Cars_TreasureCars"
                            Style="{StaticResource H_Style_SingleLineTextTile}"
                            Grid.Column="3"
                            Grid.Row="4"
                            Grid.ColumnSpan="1"
                            Grid.RowSpan="1"
                            BindingProxy.A="{Binding Path=NotificationBadgeTreasureCars, RelativeSource={RelativeSource AncestorType=Page, Mode=FindAncestor}}"
                            Command="{Binding TreasureCarsCommand, RelativeSource={RelativeSource AncestorType=Page}}">
                            <FZButton.DataContext>
                                <TileMenuDataItem
                                    Heading="{Loc PauseMenu.IDS_TileTitle_TreasureCars}" />
                            </FZButton.DataContext>
                        </FZButton>
                        <FZButton
                            x:Name="PART_Button_Cars_BarnFinds"
                            Style="{StaticResource H_Style_SingleLineTextTile}"
                            Grid.Column="3"
                            Grid.Row="5"
                            Grid.ColumnSpan="1"
                            Grid.RowSpan="1"
                            BindingProxy.A="{Binding Path=NotificationBadgeBarnFinds, RelativeSource={RelativeSource AncestorType=Page, Mode=FindAncestor}}"
                            Command="{Binding BarnFindsCommand, RelativeSource={RelativeSource AncestorType=Page}}">
                            <FZButton.DataContext>
                                <TileMenuDataItem
                                    Heading="{Loc PauseMenu.IDS_TileTitle_BarnFinds}" />
                            </FZButton.DataContext>
                        </FZButton>
                        <FZButton
                            x:Name="PART_Button_Cars_BarnFindBlueprint"
                            Style="{StaticResource H_Style_SingleLineTextTile}"
                            Grid.Column="3"
                            Grid.Row="6"
                            Grid.ColumnSpan="1"
                            Grid.RowSpan="1"
                            Command="{Binding BarnFindBlueprintCommand, RelativeSource={RelativeSource AncestorType=Page}}">
                            <FZButton.DataContext>
                                <TileMenuDataItem
                                    Heading="{Loc PauseMenu.IDS_TileTitle_BarnFindBlueprint}"
                                    Description="{Loc PauseMenu.IDS_TileText_BarnFindBlueprint}" />
                            </FZButton.DataContext>
                        </FZButton>
                        <FZButton
                            x:Name="PART_Button_Cars_TuneCar"
                            Style="{StaticResource H_Style_ImageTile}"
                            TileMenuNavigationManager.TextColorScheme="{Static TextColorScheme.Light}"
                            Grid.Column="4"
                            Grid.Row="0"
                            Grid.ColumnSpan="1"
                            Grid.RowSpan="8"
                            Command="{Binding TuneCarCommand, RelativeSource={RelativeSource AncestorType=Page}}">
                            <FZButton.DataContext>
                                <TileMenuDataItem
                                    Heading="{Loc PauseMenu.IDS_TileTitle_TuneCar}"
                                    Description="{Loc PauseMenu.IDS_TileText_TuneCar}"
                                    Icon="/ForzaUI;component/Textures/Data_Bound/PauseMenu_Images/TuneCar_Tile.png" />
                            </FZButton.DataContext>
                        </FZButton>
                     
                        <FZButton
                            x:Name="PART_Button_Cars_MyCars"
                            Style="{StaticResource H_Style_VideoTile}"
                            TileMenuNavigationManager.TextColorScheme="{Static TextColorScheme.Light}"
                            Grid.Column="1"
                            Grid.Row="0"
                            Grid.ColumnSpan="3"
                            Grid.RowSpan="4"
                            PropertySetter.Property="{x:Null}"
                            Command="{Binding MyCarsCommand, RelativeSource={RelativeSource AncestorType=Page}}"
                            TileMenuNavigationManager.InitialSelection="True">
                            <FZButton.DataContext>
                                <VideoTileMenuDataItem
                                    Heading="{Loc PauseMenu.IDS_TileTitle_MyCars}"
                                    Description="{Binding MyCarsTileDescription, RelativeSource={RelativeSource AncestorType=Page}}"
                                    Icon="/ForzaUI;component/Textures/Data_Bound/PauseMenu_Images/MyCars_Tile.png"
                                    Source="game:/Media/UI/Videos/Cars_Tab_Animation.bk2" />
                            </FZButton.DataContext>
                        </FZButton>
                        <FZButton
                            x:Name="PART_Button_Cars_Horn"
                            Style="{StaticResource H_Style_SingleLineTextTile}"
                            Grid.Column="3"
                            Grid.Row="7" 
                            Grid.ColumnSpan="1"
                            Grid.RowSpan="1"
                            Command="{Binding HornCommand, RelativeSource={RelativeSource AncestorType=Page}}">
                            <FZButton.DataContext>
                                <TileMenuDataItem
                                    Heading="{Loc PauseMenu.IDS_TileTitle_Horn}" />
                            </FZButton.DataContext>
                        </FZButton>
                    </Grid>

                    <Grid
                        Style="{StaticResource H_Style_Grid_5TileMenu}"
                        x:Name="PART_SCOPE_Store">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="*" />
                            <ColumnDefinition Width="*" />
                            <ColumnDefinition Width="*" />
                            <ColumnDefinition Width="*" />
                            <ColumnDefinition Width="*" />
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="*" />
                            <RowDefinition Height="*" />
                            <RowDefinition Height="*" />
                            <RowDefinition Height="*" />
                            <RowDefinition Height="*" />
                            <RowDefinition Height="*" />
                            <RowDefinition Height="*" />
                            <RowDefinition Height="*" />
                        </Grid.RowDefinitions>
                        <FZButton
                            x:Name="PART_Button_Store_CarPacks"
                            Style="{StaticResource H_Style_MultiLineTextTile}"
                            Grid.Column="4"
                            Grid.Row="4"
                            BindingProxy.A="{Binding Path=NotificationBadgeStoreCarPacks, RelativeSource={RelativeSource AncestorType=Page, Mode=FindAncestor}}"
                            Command="{Binding CarPacksCommand, RelativeSource={RelativeSource AncestorType=Page}}">
                            <FZButton.DataContext>
                                <TileMenuDataItem
                                    Heading="{Loc PauseMenu.IDS_TileTitle_CarPacks}" />
                            </FZButton.DataContext>
                        </FZButton>
                        <MarketplaceFeaturedLiveTile
                            x:Name="PART_Button_Store_Upsell"
                            Style="{StaticResource A_Style_Button_FeaturedTile}"
                            TileMenuNavigationManager.TextColorScheme="{Static TextColorScheme.Light}"
                            TileMenuNavigationManager.InitialSelection="True"
                            Grid.Column="0"
                            Grid.Row="0"
                            Grid.ColumnSpan="4"
                            Grid.RowSpan="8"
                            Command="{Binding GoFromFeaturedTileCommand, RelativeSource={RelativeSource AncestorType=Page}}">
                            <MarketplaceFeaturedLiveTile.DataContext>
                                <TileMenuDataItem/>
                            </MarketplaceFeaturedLiveTile.DataContext>
                        </MarketplaceFeaturedLiveTile>
                        <FZButton
                            x:Name="PART_Button_Store_TreasureMap"
                            Style="{StaticResource H_Style_MultiLineTextTile}"
                            Grid.Column="4"
                            Grid.Row="6"
                            Command="{Binding TreasureMapCommand, RelativeSource={RelativeSource AncestorType=Page}}">
                            <FZButton.DataContext>
                                <TileMenuDataItem
                                    Heading="{Loc PauseMenu.IDS_TileTitle_TreasureMap}" />
                            </FZButton.DataContext>
                        </FZButton>
                        <FZButton
                            x:Name="PART_Button_Store_SeasonPass"
                            Style="{StaticResource H_Style_ImageTile}"
                            Grid.Column="4"
                            Grid.Row="0"
                            Grid.ColumnSpan="1"
                            Grid.RowSpan="4"
                            Command="{Binding SeasonPassCommand, RelativeSource={RelativeSource AncestorType=Page}}">
                            <FZButton.DataContext>
                                <TileMenuDataItem
                                    Heading="{Loc PauseMenu.IDS_TileTitle_SeasonPass}"
                                    Description="{Loc PauseMenu.IDS_TileText_SeasonPass}" />
                            </FZButton.DataContext>
                        </FZButton>
                    </Grid>
                </Grid>
            </Grid>
        </Decorator>
    </Grid>
</PauseMenuTiled>
