<Page xmlns:local="clr-namespace:ForzaUI;assembly="
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
      x:Class="ForzaUI.A_CampaignSetupRoot"
      mc:Ignorable="d"
      DataContext="{Binding RelativeSource={RelativeSource Self}}"
      Style="{StaticResource A_Style_Page_Generic}"
      x:Name="Page">

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

    <Page.Resources>
        <ResourceDictionary>

            <local:MappingConverter x:Key="A_Converter_BooleanToLockState">
                <local:MappingConverterEntry Key="True" Value="{x:Static local:LockState.Locked}"/>
                <local:MappingConverterEntry Key="False" Value="{x:Static local:LockState.Unlocked}"/>
                <local:MappingConverterEntry Key="{x:Null}" Value="{x:Static local:LockState.Locked}"/>
            </local:MappingConverter>

            <local:MappingConverter x:Key="A_Converter_LockStateToBoolean">
                <local:MappingConverterEntry Key="{x:Static local:LockState.Locked}" Value="True"/>
                <local:MappingConverterEntry Key="{x:Static local:LockState.Unlocked}" Value="False"/>
                <local:MappingConverterEntry Key="{x:Null}" Value="False"/>
            </local:MappingConverter>

            <!--Control and styles for images/live tiles-->
            <ControlTemplate x:Key="A_ControlTemplate_ImageTileButton" TargetType="local:FZButton">
                <Grid>
                    <local:FZMaterial x:Name="DropShadow" Style="{StaticResource A_Style_FZMaterial_TileDropShadow}"/>

                    <local:FZMaterial Style="{StaticResource A_Style_FZMaterial_FlatPanel_Tile}"/>

                    <ContentPresenter/>

                    <StackPanel VerticalAlignment="Bottom" HorizontalAlignment="Stretch" Margin="12,12,12,24">
                        <local:FZTextBlock x:Name="TitleText" Style="{StaticResource A_Style_FZTextBlock_TileTitle}" FontSize="36" HorizontalAlignment="Center" Margin="0,10"/>
                        <local:FZTextBlock x:Name="DescriptionText" Style="{StaticResource A_Style_FZTextBlock_TileText}" FontSize="21" HorizontalAlignment="Center" 
                                           Visibility="Visible" Color="{StaticResource A_Color_Tile_Text}"
                                           local:TextBlockInlineMarkup.Markup="{Binding Tag, RelativeSource={RelativeSource FindAncestor, AncestorType=Button}, Converter={StaticResource A_StringToUpper}}"/>
                    </StackPanel>
                    <ContentControl Style="{StaticResource A_Style_ContentControl_TileSelectionStroke}" />
                </Grid>
                <ControlTemplate.Triggers>
                    <DataTrigger Binding="{Binding (local:TileMenuNavigationManager.LockState), RelativeSource={RelativeSource FindAncestor, AncestorType=Button}}" Value="{x:Static local:LockState.Locked}">
                        <Setter TargetName="TitleText" Property="Color" Value="#FF969696"/>
                    </DataTrigger>
                </ControlTemplate.Triggers>
            </ControlTemplate>


            <Style x:Key="A_Style_FZButton_ImageTile" TargetType="local:FZButton" BasedOn="{StaticResource A_Style_Button_RootTile}">
                <Setter Property="Width" Value="540"/>
                <Setter Property="Height" Value="351"/>
                <Setter Property="Canvas.Left"
                        Value="{Binding Path=(local:TileMenuNavigationManager.GridX) ,RelativeSource={RelativeSource Self}, Converter={StaticResource A_LinearTransformConverter_TilePositionTransform}}" />
                <Setter Property="Canvas.Top"
                        Value="{Binding Path=(local:TileMenuNavigationManager.GridY) ,RelativeSource={RelativeSource Self}, Converter={StaticResource A_LinearTransformConverter_TilePositionTransform}}" />
                <Setter Property="local:UIPageTransitionManager.TransitionIndex"
                        Value="0" />
                <Setter Property="local:TileMenuNavigationManager.GridWidth" Value="3"/>
                <Setter Property="local:TileMenuNavigationManager.GridHeight" Value="2"/>
                <Setter Property="Tag" Value="{Binding Description}"/>
                <Setter Property="Template" Value="{StaticResource A_ControlTemplate_ImageTileButton}" />
            </Style>

            <Style x:Key="A_Style_FZButton_ImageTile_CarRestrictions" TargetType="local:FZButton" BasedOn="{StaticResource A_Style_FZButton_ImageTile}">
                <Style.Triggers>
                    <DataTrigger Binding="{Binding IsPlaygroundMode, RelativeSource={RelativeSource AncestorType=Page}}" Value="True">
                        <Setter Property="local:TileMenuNavigationManager.GridWidth" Value="6"/>
                        <Setter Property="Width" Value="1080"/>
                    </DataTrigger>

                    <MultiDataTrigger>
                        <MultiDataTrigger.Conditions>
                            <Condition Binding="{Binding SceneEnum, RelativeSource={RelativeSource AncestorType=Page}}" Value="{x:Static local:SceneEntryEnum.CampaignSetupRoot}"/>
                            <Condition Binding="{Binding IsRouteBlueprintEnabled, RelativeSource={RelativeSource AncestorType=Page}}" Value="False"/>
                        </MultiDataTrigger.Conditions>
                        <Setter Property="local:TileMenuNavigationManager.GridWidth" Value="6"/>
                        <Setter Property="Width" Value="1080"/>
                    </MultiDataTrigger>
                </Style.Triggers>
            </Style>

            <Style x:Key="A_Style_FZButton_ImageTile_RouteSelect" TargetType="local:FZButton" BasedOn="{StaticResource A_Style_FZButton_ImageTile}">
                <Style.Triggers>
                    <DataTrigger Binding="{Binding IsPlaygroundMode, RelativeSource={RelativeSource AncestorType=Page}}" Value="True">
                        <Setter Property="local:TileMenuNavigationManager.TileState" Value="{x:Static local:TileState.Disabled}"/>
                    </DataTrigger>

                    <MultiDataTrigger>
                        <MultiDataTrigger.Conditions>
                            <Condition Binding="{Binding SceneEnum, RelativeSource={RelativeSource AncestorType=Page}}" Value="{x:Static local:SceneEntryEnum.CampaignSetupRoot}"/>
                            <Condition Binding="{Binding IsRouteBlueprintEnabled, RelativeSource={RelativeSource AncestorType=Page}}" Value="False"/>
                        </MultiDataTrigger.Conditions>
                        <Setter Property="local:TileMenuNavigationManager.TileState" Value="{x:Static local:TileState.Disabled}"/>
                    </MultiDataTrigger>
                </Style.Triggers>
            </Style>

            <!--Control and styles for icon tiles-->
            <ControlTemplate x:Key="A_ControlTemplate_IconTileButton" TargetType="local:FZButton">
                <Grid Style="{StaticResource A_Style_FrameworkElement_DefaultTransition}"
                      local:UIPageTransitionManager.TransitionIndex="{Binding (local:UIPageTransitionManager.TransitionIndex), RelativeSource={RelativeSource TemplatedParent}}" >

                    <local:FZMaterial x:Name="DropShadow" Style="{StaticResource A_Style_FZMaterial_TileDropShadow}"/>

                    <Grid>
                        <local:FZMaterial Style="{StaticResource A_Style_FZMaterial_TileBackground}"/>
                        <local:FZMaterial HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Stretch="UniformToFill"
                                          ImageSource="{Binding Icon}"
                                          Color="{StaticResource A_Color_SmallTile_Icon}" />
                        <local:FZTextBlock x:Name="NameText" Margin="24,18"
                                           FontFamily="Horizon_A"
                                           FontSize="22"
                                           local:TextBlockInlineMarkup.Markup="{Binding DataContext.Heading, RelativeSource={RelativeSource AncestorType=Button}, Converter={StaticResource A_StringToUpper}}"
                                           local:TextBlockInlineMarkup.ResourceBaseName=""
                                           Color="{StaticResource A_Color_Tile_Text}"
                                           HorizontalAlignment="Center"
                                           VerticalAlignment="Bottom"/>
                    </Grid>
                    <ContentControl Style="{StaticResource A_Style_ContentControl_TileSelectionStroke}" />
                </Grid>
            </ControlTemplate>

            <Style x:Key="A_Style_FZButton_IconTile" TargetType="{x:Type local:FZButton}" BasedOn="{StaticResource A_Style_Button_RootTile}" >
                <Setter Property="Width" Value="358"/>
                <Setter Property="Height" Value="182"/>
                <Setter Property="Canvas.Left"
                        Value="{Binding Path=(local:TileMenuNavigationManager.GridX) ,RelativeSource={RelativeSource Self}, Converter={StaticResource A_LinearTransformConverter_TilePositionTransform}}" />
                <Setter Property="Canvas.Top"
                        Value="{Binding Path=(local:TileMenuNavigationManager.GridY) ,RelativeSource={RelativeSource Self}, Converter={StaticResource A_LinearTransformConverter_TilePositionTransform}}" />
                <Setter Property="local:UIPageTransitionManager.TransitionIndex"
                        Value="0" />
            </Style>

            <Style x:Key="A_Style_IconButton_Tile_CampaignRoot" TargetType="{x:Type local:FZButton}"
                    BasedOn="{StaticResource A_Style_FZButton_IconTile}">
                <Setter Property="Template" Value="{StaticResource A_ControlTemplate_IconTileButton}" />
                <Setter Property="local:TileMenuNavigationManager.GridWidth" Value="2"/>
                <Setter Property="local:TileMenuNavigationManager.GridHeight" Value="1"/>
            </Style>

            <Style x:Key="A_FZMaterial_Multiple_Routes_Tile_Image" TargetType="local:FZMaterial">
                <Setter Property="Preset" Value="{StaticResource A_FZMaterialPresetRoundtangle_FlatPanel_InnerAll}"/>
                <Setter Property="ImageSource" Value="/ForzaUI;component/Textures/Anthem/TileBackgrounds/Route_Select.png"/>
                <Setter Property="Visibility" Value="Collapsed"/>
                <Style.Triggers>
                    <DataTrigger Binding="{Binding SceneEnum, RelativeSource={RelativeSource AncestorType=Page}}" Value="{x:Static local:SceneEntryEnum.PrivateAdventureSetupRoot}">
                        <Setter Property="Visibility" Value="Visible"/>
                    </DataTrigger>
                </Style.Triggers>
            </Style>

            <local:MappingConverter x:Key="A_Converter_SceneToScreenTitleHeading" Default="{local:Loc ScreenTitles.IDS_CampaignSetupRoot}">
                <local:MappingConverterEntry Key="{x:Static local:SceneEntryEnum.PrivateAdventureSetupRoot}" Value="{local:Loc ScreenTitles.IDS_PrivateAdventureSetupRoot}"/>
            </local:MappingConverter>

            <local:MappingConverter x:Key="A_Converter_SceneToSettingsHeading" Default="{local:Loc EventBlueprint.IDS_TileTitle_ExhibitionRouteSettings}">
                <local:MappingConverterEntry Key="{x:Static local:SceneEntryEnum.PrivateAdventureSetupRoot}" Value="{local:Loc RoadTrip.IDS_PrivateAdventure_AdventureSettings_Title}"/>
            </local:MappingConverter>
            <local:MappingConverter x:Key="A_Converter_SceneToCreateEventHeading" Default="{local:Loc EventBlueprint.IDS_TileTitle_CreateEvent}">
                <local:MappingConverterEntry Key="{x:Static local:SceneEntryEnum.PrivateAdventureSetupRoot}" Value="{local:Loc RoadTrip.IDS_PrivateAdventure_CreateAdventure_Title}"/>
            </local:MappingConverter>
            
            <local:MappingConverter x:Key="A_Converter_SceneToSettingsDescription" Default="{local:Loc EventBlueprint.IDS_TileDesc_ExhibitionRouteSettings}">
                <local:MappingConverterEntry Key="{x:Static local:SceneEntryEnum.PrivateAdventureSetupRoot}" Value="{local:Loc RoadTrip.IDS_PrivateAdventure_AdventureSettings_Description}"/>
            </local:MappingConverter>
            <local:MappingConverter x:Key="A_Converter_SceneToRestrictionDescription" Default="{local:Loc EventBlueprint.IDS_TileDesc_CarRestrictions}">
                <local:MappingConverterEntry Key="{x:Static local:SceneEntryEnum.PrivateAdventureSetupRoot}" Value="{local:Loc RoadTrip.IDS_PrivateAdventure_Restrictions_Description}"/>
            </local:MappingConverter>
            <local:MappingConverter x:Key="A_Converter_SceneToEditNameDescription" Default="{local:Loc EventBlueprint.IDS_TileDesc_EnterName}">
                <local:MappingConverterEntry Key="{x:Static local:SceneEntryEnum.PrivateAdventureSetupRoot}" Value="{local:Loc RoadTrip.IDS_PrivateAdventure_EditName_Description}"/>
            </local:MappingConverter>
            <local:MappingConverter x:Key="A_Converter_SceneToRouteSelectDescription" Default="{local:Loc EventBlueprint.IDS_TileDesc_RouteSelect}">
                <local:MappingConverterEntry Key="{x:Static local:SceneEntryEnum.PrivateAdventureSetupRoot}" Value="{local:Loc RoadTrip.IDS_PrivateAdventure_RouteSelect_Description}"/>
            </local:MappingConverter>
            <local:MappingConverter x:Key="A_Converter_SceneToCreateEventDescription" Default="{local:Loc EventBlueprint.IDS_TileDesc_CreateEvent}">
                <local:MappingConverterEntry Key="{x:Static local:SceneEntryEnum.PrivateAdventureSetupRoot}" Value="{local:Loc RoadTrip.IDS_PrivateAdventure_CreateAdventure_Description}"/>
            </local:MappingConverter>

            <Style x:Key="A_Style_FZMaterial_RouteSelectContainer"
                TargetType="{x:Type local:FZMaterial}">
                <Setter Property="Preset" Value="{StaticResource A_FZMaterialPresetRoundtangle_FlatPanel_InnerAll}"/>
                <Setter Property="CaptureSubgraph" Value="True"/>
                <Style.Triggers>
                    <DataTrigger Binding="{Binding (local:TileMenuNavigationManager.LockState), RelativeSource={RelativeSource FindAncestor, AncestorType=Button}, Converter={StaticResource A_Converter_LockStateToBoolean}}" Value="True">
                        <Setter Property="Preset" Value="{StaticResource A_FZMaterialPresetRoundtangle_FlatPanel_InnerAllDesaturated}"/>
                    </DataTrigger>
                </Style.Triggers>
            </Style>

            <Style x:Key="A_Style_ContentControl_FloatingIcon_Tile_RouteSelect"
                   TargetType="ContentControl"
                   BasedOn="{StaticResource A_Style_ContentControl_FloatingIcon_Tile}">
                <Style.Triggers>
                    <MultiDataTrigger>
                        <MultiDataTrigger.Conditions>
                            <Condition Binding="{Binding IsRouteBlueprintEnabled, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Page}}}" Value="False"/>
                            <Condition Binding="{Binding SceneEnum, RelativeSource={RelativeSource AncestorType=Page}}" Value="{x:Static local:SceneEntryEnum.CampaignSetupRoot}"/>
                        </MultiDataTrigger.Conditions>
                        <Setter Property="local:BindingProxy.B" Value="{x:Static local:LockState.Locked}" />
                        <Setter Property="Visibility" Value="Visible" />
                    </MultiDataTrigger>
                    <DataTrigger Binding="{Binding IsPlaygroundMode, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Page}}}" Value="True">
                        <Setter Property="Visibility" Value="Collapsed" />
                    </DataTrigger>
                </Style.Triggers>
            </Style>

            <Style x:Key="A_Style_FrameworkElement_RouteSelect_ComingSoonBanner"
                   TargetType="FrameworkElement">
                <Setter Property="Visibility" Value="Collapsed" />
                <Style.Triggers>
                    <MultiDataTrigger>
                        <MultiDataTrigger.Conditions>
                            <Condition Binding="{Binding IsRouteBlueprintEnabled, RelativeSource={RelativeSource AncestorType={x:Type Page}}}" Value="False"/>
                            <Condition Binding="{Binding SceneEnum, RelativeSource={RelativeSource AncestorType=Page}}" Value="{x:Static local:SceneEntryEnum.CampaignSetupRoot}"/>
                            <Condition Binding="{Binding IsPlaygroundMode, RelativeSource={RelativeSource AncestorType=Page}}" Value="False"/>
                        </MultiDataTrigger.Conditions>
                        <Setter Property="Visibility" Value="Visible" />
                    </MultiDataTrigger>
                </Style.Triggers>
            </Style>
            <TextWrapping x:Key="A_TextWrapping_ComingSoon_Wrap">Wrap</TextWrapping>
            <TextWrapping x:Key="A_TextWrapping_ComingSoon_Wrap_HU">NoWrap</TextWrapping>

            <Style x:Key="A_Style_FZMaterial_CarRestrictions" TargetType="local:FZMaterial">
                <Setter Property="ImageSource" Value="{Binding Icon}"/>
                <Setter Property="Preset" Value="{StaticResource A_FZMaterialPresetRoundtangle_FlatPanel_InnerAll}"/>
                <Setter Property="Stretch" Value="Uniform"/>
                <Style.Triggers>
                    <MultiDataTrigger>
                        <MultiDataTrigger.Conditions>
                            <Condition Binding="{Binding SceneEnum, RelativeSource={RelativeSource AncestorType=Page}}" Value="{x:Static local:SceneEntryEnum.CampaignSetupRoot}"/>
                            <Condition Binding="{Binding IsRouteBlueprintEnabled, RelativeSource={RelativeSource AncestorType=Page}}" Value="False"/>
                        </MultiDataTrigger.Conditions>
                        <Setter Property="ImageSource" Value="/ForzaUI;component/Textures/Data_Bound/CU1/TileBackgrounds/Car_Themes_Wide.png"/>
                    </MultiDataTrigger>

                    <DataTrigger Binding="{Binding IsPlaygroundMode, RelativeSource={RelativeSource AncestorType=Page}}" Value="True">
                        <Setter Property="ImageSource" Value="/ForzaUI;component/Textures/Data_Bound/CU1/TileBackgrounds/Car_Themes_Wide.png"/>
                    </DataTrigger>
                </Style.Triggers>
            </Style>
        </ResourceDictionary>
    </Page.Resources>

    <Grid>
       <Control Style="{StaticResource A_Style_Control_ScreenBackground}" />
        <Control Template="{StaticResource A_ControlTemplate_Blueprint_Background}"/>

        <!-- Bars -->
        <local:PlayerBarControl x:Name="TopBar" Style="{StaticResource A_Style_PlayerBarControl}" />
        <ContentControl x:Name="BottomBar" Style="{StaticResource A_Style_ButtonBar}">
            <ContentControl x:Name="DefaultHelpPanel" 
                            Style="{StaticResource A_Style_ContentControl_DefaultButtonBar}"
                            local:ControllerButtonPanel.ADescription="{local:Loc HelpButtons.IDS_Select}"
                            local:ControllerButtonPanel.BDescription="{local:Loc HelpButtons.IDS_Back}" />
        </ContentControl>
        <local:NetworkCountdownControl Style="{StaticResource A_Style_NetworkCountdownControl_EventSetup}" />

        <Grid x:Name="LayoutRoot">
            <Border Style="{StaticResource A_Style_Border_ScenePadding_Opus}">
                <DockPanel Margin="{StaticResource A_Thickness_CampaignSetupContents_Margin}" >
                    <StackPanel Style="{StaticResource A_Style_FrameworkElement_DefaultTransition_0}" VerticalAlignment="Center" Margin="-50,-22,0,0">
                            <ContentControl Style="{StaticResource A_Style_ContentControl_ScreenTitleBlock}"
                                            Content="{Binding SceneEnum, Converter={StaticResource A_Converter_SceneToScreenTitleHeading}}"
                                            local:BindingProxy.A="/ForzaUI;component/Textures/Anthem/Icons/Titles/Blueprint.png"
                                            HorizontalAlignment="Left"/>

                        <Decorator x:Name="PART_MenuContent" Panel.ZIndex="10"
                                   HorizontalAlignment="Left"
                                   VerticalAlignment="Center">
                            <local:AutoSizeCanvas x:Name="PART_SCOPE_Home"
                                                  Margin="0,0,0,0">
                                <!-- Car Theme-->
                                <local:TileMenuDataItem x:Name="DataContext_CarRestrictions"
                                    Heading="{local:Loc EventBlueprint.IDS_TileTitle_CarRestrictions}"
                                    Description="{Binding SceneEnum, RelativeSource={RelativeSource AncestorType=Page}, Converter={StaticResource A_Converter_SceneToRestrictionDescription}}"
                                    Icon="/ForzaUI;component/Textures/Anthem/TileBackgrounds/CarThemes.png"/>
                                <local:FZButton x:Name="PART_Button_CarRestrictions"
                                        Style="{StaticResource A_Style_FZButton_ImageTile_CarRestrictions}"
                                        local:TileMenuNavigationManager.GridX="0"
                                        local:TileMenuNavigationManager.GridY="0"
                                        Canvas.Left="0" Canvas.Top="0"
                                        Tag="{Binding CarThemeTitle, RelativeSource={RelativeSource AncestorType={x:Type Page}}}"
                                        local:UIPageTransitionManager.TransitionIndex="2"
                                        DataContext="{Binding ElementName=DataContext_CarRestrictions}">
                                    <local:FZMaterial Margin="6,6,6,92" Style="{StaticResource A_Style_FZMaterial_CarRestrictions}"/>
                                </local:FZButton>

                                <!-- Route Select-->
                                <local:TileMenuDataItem x:Name="DataContext_CustomRouteSelect"
                                    Heading="{local:Loc EventBlueprint.IDS_TileTitle_RouteSelect}"
                                    Description="{Binding SceneEnum, RelativeSource={RelativeSource AncestorType=Page}, Converter={StaticResource A_Converter_SceneToRouteSelectDescription}}"
                                    Icon="/ForzaUI;component/Textures/Anthem/Icons/TiledMenus/RouteSelect.png"/>
                                <local:FZButton x:Name="PART_Button_CustomRouteSelect"
                                        Style="{StaticResource A_Style_FZButton_ImageTile_RouteSelect}"
                                        local:TileMenuNavigationManager.GridX="3"
                                        local:TileMenuNavigationManager.GridY="0"
                                        Canvas.Left="546" Canvas.Top="0"
                                        Tag="{Binding RouteTitle, RelativeSource={RelativeSource AncestorType={x:Type Page}}}"
                                        local:UIPageTransitionManager.TransitionIndex="1"
                                        DataContext="{Binding ElementName=DataContext_CustomRouteSelect}">
                                    <Grid>
                                        <Grid Margin="6,6,6,92">
                                            <local:MapViewControllerWindowed x:Name="CampaignSetupRootMapMapView"
                                                                             DataContext="{Binding RouteMap, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Page}}}"
                                                                             Style="{StaticResource A_Style_MapViewController_UIMap}" />
                                            <local:FZMaterial Preset="{StaticResource A_FZMaterialPresetRoundtangle_FlatPanel_InnerAll}" Color="#ff0A0E1A"/>
                                            <local:FZMaterial Style="{StaticResource A_Style_FZMaterial_RouteSelectContainer}">
                                                <local:MapCustomRenderElement MapId="default" Style="{StaticResource A_Style_MapCustomRenderElement_UIMap}"
                                                                              DataContext="{Binding RouteMap, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Page}}}"
                                                                              ClipToBounds="True"
                                                                              MapView="{Binding ElementName=CampaignSetupRootMapMapView}"
                                                                              x:Name="mapCustomRenderElement" />
                                            </local:FZMaterial>
                                            <local:FZMaterial x:Name="MultipleRoutesSelectedGraphics" Style="{StaticResource A_FZMaterial_Multiple_Routes_Tile_Image}"/>
                                        </Grid>
                                        <local:FZMaterial x:Name="ComingSoonBanner"
                                                            Style="{StaticResource A_Style_FrameworkElement_RouteSelect_ComingSoonBanner}"
                                                            Color="{StaticResource A_Color_Tile_Background_Alternate}"
                                                            Width="143" Height="143"
                                                            VerticalAlignment="Top" HorizontalAlignment="Right">
                                            <local:FZMaterial.Data>
                                                <local:FZGeometry Data="M0,0 76,0 143,67 143,143 Z" />
                                            </local:FZMaterial.Data>
                                            <Decorator Width="103" Height="42" RenderTransformOrigin="0.5,0.5">
                                                <Decorator.RenderTransform>
                                                    <RotateTransform Angle="45" />
                                                </Decorator.RenderTransform>
                                                <Decorator Margin="0,-27,0,27">
                                                    <local:FZTextBlock Text="{local:Loc TiledMenus.IDS_ComingSoonBanner}"
                                                                        TextWrapping="{local:LocalizedResource A_TextWrapping_ComingSoon_Wrap}"
                                                                        TextAlignment="Center"
                                                                        LineAdjust="-0.4"
                                                                        Color="#FFF"
                                                                        Style="{StaticResource A_Style_FZTextBlock_HorizonA}"
                                                                        HorizontalAlignment="Center" VerticalAlignment="Center"
                                                                        Margin="0,0"
                                                                        CapHeight="19" />
                                                </Decorator>
                                            </Decorator>
                                        </local:FZMaterial>
                                        <ContentControl Style="{StaticResource A_Style_ContentControl_FloatingIcon_Tile_RouteSelect}" />
                                    </Grid>
                                </local:FZButton>
                                <!-- Race Settings -->
                                <local:TileMenuDataItem x:Name="DataContext_ExhibitionRouteSettings"
                                    Heading="{Binding SceneEnum, RelativeSource={RelativeSource AncestorType=Page}, Converter={StaticResource A_Converter_SceneToSettingsHeading}}"
                                    Description="{Binding SceneEnum, RelativeSource={RelativeSource AncestorType=Page}, Converter={StaticResource A_Converter_SceneToSettingsDescription}}"
                                    Icon="/ForzaUI;component/Textures/Anthem/Icons/TiledMenus/RaceSettings.png" />
                                <local:FZButton x:Name="PART_Button_ExhibitionRouteSettings"
                                    local:TileMenuNavigationManager.GridX="0"
                                    local:TileMenuNavigationManager.GridY="2"
                                    Canvas.Left="0" Canvas.Top="356"
                                    Style="{StaticResource A_Style_IconButton_Tile_CampaignRoot}"
                                    local:UIPageTransitionManager.TransitionIndex="1"
                                    DataContext="{Binding ElementName=DataContext_ExhibitionRouteSettings}"/>

                                <!--Edit Name -->
                                <local:TileMenuDataItem x:Name="DataContext_EnterName"
                                    Heading="{local:Loc EventBlueprint.IDS_TileTitle_EnterName}"
                                    Description="{Binding SceneEnum, RelativeSource={RelativeSource AncestorType=Page}, Converter={StaticResource A_Converter_SceneToEditNameDescription}}"
                                    Icon="/ForzaUI;component/Textures/Anthem/Icons/TiledMenus/EditName.png"/>
                                <local:FZButton x:Name="PART_Button_EnterName"
                                        local:TileMenuNavigationManager.GridX="2"
                                        local:TileMenuNavigationManager.GridY="2"
                                        Canvas.Left="364" Canvas.Top="356"
                                        Style="{StaticResource A_Style_IconButton_Tile_CampaignRoot}"
                                        local:UIPageTransitionManager.TransitionIndex="3"
                                        DataContext="{Binding ElementName=DataContext_EnterName}"/>

                                <!-- Confirm Blueprint -->
                                <local:TileMenuDataItem x:Name="DataContext_CreateEvent"
                                    Heading="{Binding SceneEnum, RelativeSource={RelativeSource AncestorType=Page}, Converter={StaticResource A_Converter_SceneToCreateEventHeading}}"
                                    Description="{Binding SceneEnum, RelativeSource={RelativeSource AncestorType=Page}, Converter={StaticResource A_Converter_SceneToCreateEventDescription}}"
                                    Icon="/ForzaUI;component/Textures/Anthem/Icons/TiledMenus/ConfirmBlueprint.png"/>
                                <local:FZButton x:Name="PART_Button_CreateEvent"
                                        local:TileMenuNavigationManager.GridX="4"
                                        local:TileMenuNavigationManager.GridY="2"
                                        Canvas.Left="728" Canvas.Top="356"
                                        Style="{StaticResource A_Style_IconButton_Tile_CampaignRoot}"
                                        local:UIPageTransitionManager.TransitionIndex="4"
                                        DataContext="{Binding ElementName=DataContext_CreateEvent}"/>
                            </local:AutoSizeCanvas>
                        </Decorator>

                        <Decorator Style="{StaticResource A_Style_FrameworkElement_DefaultTransition_0}"
                                   VerticalAlignment="Bottom"
                                   Width="{StaticResource A_Double_CampaignSetupDescriptionPanel_Width}"
                                   Height="{StaticResource A_Double_CampaignSetupDescriptionPanel_Height}" Margin="0,12,0,0">
                            <local:FZMaterial Style="{StaticResource A_Style_FZMaterial_GlassPanel_Pill}">
                                <local:FZTextBlock Style="{StaticResource A_Style_FZTextBlock_DescriptionBlockBody}"
                                                   DataContext="{Binding TileMenuNavigationManager.SelectedTile}"
                                                   Text="{Binding DataContext.Description}"
                                                   FontSize="22"
                                                   VerticalAlignment="Top"
                                                   Margin="12,24"
                                                   TextWrapping="Wrap"/>
                            </local:FZMaterial>
                        </Decorator>
                    </StackPanel>

                    <Decorator Style="{StaticResource A_Style_FrameworkElement_DefaultTransition_0}" 
                               DockPanel.Dock="Right" Margin="0,-6,-52,0">
                        <local:FZMaterial Style="{StaticResource A_Style_FZMaterial_FlyerBorder_Glass}"
                                          HorizontalAlignment="Right"
                                          VerticalAlignment="Top">
                          <ContentControl x:Name="PART_Flyer"
                                          DataContext="{Binding CampaignSetup}"
                                          Style="{StaticResource A_Style_Control_CampaignFlyer}"
                                          Margin="6"/>
                        </local:FZMaterial>
                    </Decorator>
                </DockPanel>
            </Border>
        </Grid>
    </Grid>
</Page>