<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:ForzaUI"
    xmlns:System="clr-namespace:System;assembly=mscorlib">

    <Thickness x:Key="A_Thickness_FeaturedPaintCarImageMargin">50,-40,50,35</Thickness>

    <Style x:Key="A_Style_FZTextBlock_FeaturedLiveTileTitle"
        TargetType="{x:Type local:FZTextBlock}"
        BasedOn="{StaticResource A_Style_FZTextBlock_TileTitle}">
        <Setter Property="HorizontalAlignment" Value="Center"/>
        <Setter Property="VerticalAlignment" Value="Top"/>
        <Setter Property="Color" Value="{StaticResource A_Color_Tile_Title_Alternate}"/>
    </Style>

    <Style x:Key="A_Style_FZTextBlock_FeaturedLiveTileText"
        TargetType="{x:Type local:FZTextBlock}"
        BasedOn="{StaticResource A_Style_FZTextBlock_TileText_Base}">
        <Setter Property="HorizontalAlignment" Value="Center"/>
        <Setter Property="VerticalAlignment" Value="Bottom"/>
        <Setter Property="Color" Value="{StaticResource A_Color_Tile_Text_Alternate}"/>
        <Style.Triggers>
            <DataTrigger Binding="{Binding (local:TileMenuNavigationManager.LockState), RelativeSource={RelativeSource FindAncestor, AncestorType=Button}}"
                         Value="{x:Static local:LockState.Locked}">
                <Setter Property="Color"
                        Value="{StaticResource A_Color_Tile_Title_Locked_Alternate}" />
            </DataTrigger>
        </Style.Triggers>
    </Style>

    <ControlTemplate x:Key="A_ControlTemplate_FeaturedLiveTileLikes"
                     TargetType="{x:Type ContentControl}">
        <local:FZMaterial RenderTransformOrigin="1,1"
            Color="{StaticResource A_Color_Tile_TintedPanel}">
            <local:FZMaterial.RenderTransform>
                <RotateTransform Angle="45" />
            </local:FZMaterial.RenderTransform>
            <StackPanel Orientation="Vertical"
                HorizontalAlignment="Center"
                VerticalAlignment="Bottom">
                <local:FZTextBlock Style="{StaticResource A_Style_FZTextBlock_HorizonB}"
                    HorizontalAlignment="Center"
                    Color="{StaticResource A_Color_Tile_Title_Alternate}"
                    CapHeight="13"
                    Text="{local:Loc Storefront.IDS_Likes}"
                    MaxWidth="50"
                    Margin="0,0,0,8" />
                <local:FZTextBlock Style="{StaticResource A_Style_FZTextBlock_HorizonA}"
                    HorizontalAlignment="Center"
                    Color="{StaticResource A_Color_Tile_Title_Alternate}"
                    CapHeight="15"
                    Text="{Binding Content, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource A_NumUnitConverter_ShowUnit_0dp}}"
                    MaxWidth="90"
                    Margin="0,0,0,12" />
            </StackPanel>
        </local:FZMaterial>
    </ControlTemplate>

    <Style x:Key="A_Style_ContentControl_FeaturedLiveTileLikes"
        TargetType="{x:Type ContentControl}">
        <Setter Property="Template" Value="{StaticResource A_ControlTemplate_FeaturedLiveTileLikes}" />
        <Setter Property="ClipToBounds" Value="True" />
        <Setter Property="Width" Value="159" />
        <Setter Property="Height" Value="112" />
        <Setter Property="VerticalAlignment" Value="Top" />
        <Setter Property="HorizontalAlignment" Value="Right" />
        <Setter Property="Visibility" Value="{Binding Content, RelativeSource={RelativeSource Self}, Converter={StaticResource A_FZBooleanToVisibilityConverter}}" />
    </Style>

    <DataTemplate DataType="{x:Type local:BaseFeaturedLiveTileItem}">
        <Grid x:Name="Root"
            Style="{StaticResource A_Style_FrameworkElement_LiveTileItemRoot}">
            <local:FZMaterial Style="{StaticResource A_Style_FZMaterial_LockableImageTileBackground_NoCorners}"
                          ImageSource="{Binding ImageSource}"
                          Stretch="Fill"/>
            <ContentControl Style="{StaticResource A_Style_ContentControl_TileTitlePanel_NoCorners}">
                <Grid>
                    <local:FZTextBlock Style="{StaticResource A_Style_FZTextBlock_FeaturedLiveTileTitle}"
                        local:TextBlockInlineMarkup.Markup="{Binding TitleText, Converter={StaticResource A_StringToUpper}}"/>
                    <local:FZTextBlock Style="{StaticResource A_Style_FZTextBlock_FeaturedLiveTileText}"
                        local:TextBlockInlineMarkup.Markup="{Binding SubtitleText}"/>
                </Grid>
            </ContentControl>
        </Grid>
    </DataTemplate>

    <DataTemplate DataType="{x:Type local:FeaturedPaintLiveTileItem}">
        <Grid x:Name="Root"
            Style="{StaticResource A_Style_FrameworkElement_LiveTileItemRoot}">
            <local:FZMaterial ImageSourceNoPreload="/ForzaUI;component/Textures/Anthem/TileBackgrounds/MyDesignsGrid.png"
                Stretch="Uniform"
                StretchDirection="DownOnly"
                Opacity="1"/>
            <local:FZMaterial x:Name="CarImageMaterial"
                              ImageSource="{Binding CarImageSource}" 
                              Stretch="Uniform"
                              Margin="{StaticResource A_Thickness_FeaturedPaintCarImageMargin}"/>
            <ContentControl Style="{StaticResource A_Style_ContentControl_TileTitlePanel_NoCorners}">
                <Grid>
                    <local:FZTextBlock Style="{StaticResource A_Style_FZTextBlock_FeaturedLiveTileTitle}"
                        local:TextBlockInlineMarkup.Markup="{Binding TitleText, Converter={StaticResource A_StringToUpper}}"/>
                    <local:FZTextBlock Style="{StaticResource A_Style_FZTextBlock_FeaturedLiveTileText}"
                        local:TextBlockInlineMarkup.Markup="{local:Loc PauseMenu.IDS_TileTitle_FeaturedDesign}"/>
                </Grid>
            </ContentControl>
            <ContentControl Style="{StaticResource A_Style_ContentControl_InfoBox}"
                HorizontalAlignment="Left"
                VerticalAlignment="Top"
                Margin="6">
                <Grid>
                    <local:FZTextBlock VerticalAlignment="Top"
                        Text="{local:Loc Storefront.IDS_LabelCreator}"
                        Style="{StaticResource A_Style_FZTextBlock_InfoBox_Title}"/>
                    <local:FZTextBlock VerticalAlignment="Bottom"
                        Text="{Binding UserProfile.FormattedGamertag}"
                        Style="{StaticResource A_Style_FZTextBlock_InfoBox_Value}"/>
                </Grid>
            </ContentControl>
            <ContentControl Style="{StaticResource A_Style_ContentControl_FeaturedLiveTileLikes}"
                Content="{Binding DataItem.LikesCount}"/>
        </Grid>
    </DataTemplate>

    <DataTemplate DataType="{x:Type local:FeaturedPhotoLiveTileItem}">
        <Grid x:Name="Root"
            Style="{StaticResource A_Style_FrameworkElement_LiveTileItemRoot}">
            <Decorator ClipToBounds="True">
                <local:FZMaterial ImageSource="{Binding ImageSource}" 
                    Stretch="UniformToFill"
                    GreedyMeasure="True"
                    VerticalAlignment="Center"
                    HorizontalAlignment="Center"/>
            </Decorator>
            <local:FZMaterial ImageSourceNoPreload="/ForzaUI;component/Textures/Anthem/TileBackgrounds/Vignette.png"
                Opacity="0.7"/>
            <ContentControl Style="{StaticResource A_Style_ContentControl_TileTitlePanel_NoCorners}">
                <Grid>
                    <local:FZTextBlock Style="{StaticResource A_Style_FZTextBlock_FeaturedLiveTileTitle}"
                        local:TextBlockInlineMarkup.Markup="{Binding TitleText, Converter={StaticResource A_StringToUpper}}"/>
                    <local:FZTextBlock Style="{StaticResource A_Style_FZTextBlock_FeaturedLiveTileText}"
                        local:TextBlockInlineMarkup.Markup="{local:Loc PauseMenu.IDS_TileTitle_FeaturedPhoto}"/>
                </Grid>
            </ContentControl>
            <ContentControl Style="{StaticResource A_Style_ContentControl_InfoBox}"
                HorizontalAlignment="Left"
                VerticalAlignment="Top"
                Margin="6">
                <Grid>
                    <local:FZTextBlock VerticalAlignment="Top"
                        Text="{local:Loc Storefront.IDS_LabelCreator}"
                        Style="{StaticResource A_Style_FZTextBlock_InfoBox_Title}"/>
                    <local:FZTextBlock VerticalAlignment="Bottom"
                        Text="{Binding UserProfile.FormattedGamertag}"
                        Style="{StaticResource A_Style_FZTextBlock_InfoBox_Value}"/>
                </Grid>
            </ContentControl>
            <ContentControl Style="{StaticResource A_Style_ContentControl_FeaturedLiveTileLikes}"
                Content="{Binding DataItem.LikesCount}"/>
        </Grid>
    </DataTemplate>

    <DataTemplate DataType="{x:Type local:FeaturedLayerGroupLiveTileItem}">
        <Grid x:Name="Root"
            Style="{StaticResource A_Style_FrameworkElement_LiveTileItemRoot}">
            <local:FZMaterial ImageSourceNoPreload="/ForzaUI;component/Textures/Anthem/TileBackgrounds/MyDesignsGrid.png"
                Stretch="Uniform"
                StretchDirection="DownOnly"
                Opacity="1"/>
            <local:FZMaterial ImageSource="{Binding ImageSource}"
                              Stretch="Uniform"
                              Margin="20,20,20,100"/>
            <ContentControl Style="{StaticResource A_Style_ContentControl_TileTitlePanel_NoCorners}">
                <Grid>
                    <local:FZTextBlock Style="{StaticResource A_Style_FZTextBlock_FeaturedLiveTileTitle}"
                        local:TextBlockInlineMarkup.Markup="{Binding TitleText, Converter={StaticResource A_StringToUpper}}"/>
                    <local:FZTextBlock Style="{StaticResource A_Style_FZTextBlock_FeaturedLiveTileText}"
                        local:TextBlockInlineMarkup.Markup="{local:Loc PauseMenu.IDS_TileTitle_FeaturedVinylGroup}"/>
                </Grid>
            </ContentControl>
            <ContentControl Style="{StaticResource A_Style_ContentControl_InfoBox}"
                HorizontalAlignment="Left"
                VerticalAlignment="Top"
                Margin="6">
                <Grid>
                    <local:FZTextBlock VerticalAlignment="Top"
                        Text="{local:Loc Storefront.IDS_LabelCreator}"
                        Style="{StaticResource A_Style_FZTextBlock_InfoBox_Title}"/>
                    <local:FZTextBlock VerticalAlignment="Bottom"
                        Text="{Binding UserProfile.FormattedGamertag}"
                        Style="{StaticResource A_Style_FZTextBlock_InfoBox_Value}"/>
                </Grid>
            </ContentControl>
            <ContentControl Style="{StaticResource A_Style_ContentControl_FeaturedLiveTileLikes}"
                Content="{Binding DataItem.LikesCount}"/>
        </Grid>
    </DataTemplate>

    <Size x:Key="A_Size_JoinFriendGamerPicSizeParams">306,234</Size>

    <DataTemplate DataType="{x:Type local:JoinFriendItem}">
        <local:FZMaterial x:Name="Root"
            Style="{StaticResource A_Style_FrameworkElement_LiveTileItemRoot}">
            <Grid ClipToBounds="True">
                <local:FZMaterial x:Name="GamerPicMaterial"
                    Style="{StaticResource A_Style_FZMaterial_LockableImageTileBackground_NoCorners}"
                    ImageSource="{Binding UserProfile, Converter={StaticResource A_GamerPicConverter}, ConverterParameter={StaticResource A_Size_JoinFriendGamerPicSizeParams}}"
                    Stretch="UniformToFill"
                    VerticalAlignment="Center"
                    Visibility="{Binding Downloaded, RelativeSource={RelativeSource Self}, Converter={StaticResource A_FZBooleanToVisibilityConverter_UseHidden}}"/>
                <ProgressBar Style="{StaticResource A_Style_ProgressBar_WaitSpinner}"
                    HorizontalAlignment="Center"
                    VerticalAlignment="Center"
                    Visibility="{Binding Downloaded, ElementName=GamerPicMaterial, Converter={StaticResource A_FZBooleanToVisibilityConverter_Inverse}, FallbackValue={x:Static Visibility.Hidden}}"/>
                <ContentControl x:Name="TileTitlePanel"
                    Style="{StaticResource A_Style_ContentControl_TileTitlePanel_NoCorners}">
                    <Grid>
                        <local:FZTextBlock Style="{StaticResource A_Style_FZTextBlock_FeaturedLiveTileTitle}"
                            local:TextBlockInlineMarkup.Markup="{local:Loc PauseMenu.IDS_TileTitle_JoinFriends}"/>
                        <local:FZTextBlock Style="{StaticResource A_Style_FZTextBlock_FeaturedLiveTileText}"
                            local:TextBlockInlineMarkup.Markup="{Binding UserProfile.FormattedGamertag}"/>
                    </Grid>
                </ContentControl>
            </Grid>
        </local:FZMaterial>
    </DataTemplate>

    <local:FZMaterialPresetRoundtangle x:Key="A_FZMaterialPresetRoundtangle_FeaturedAuctionBackground"
        GradientColorA="#FF999999"
        GradientColorB="#FFFFFFFF"
        GradientAngle="0"/>

    <ImageSource x:Key="A_BitmapImage_FeaturedAuctionInfoBox">/ForzaUI;component/Textures/Anthem/Icons/InfoBoxes/FeaturedAuction.png</ImageSource>

    <DataTemplate DataType="{x:Type local:FeaturedAuctionLiveTileItem}">
        <Grid x:Name="Root"
            Style="{StaticResource A_Style_FrameworkElement_LiveTileItemRoot}">
            <local:FZMaterial Preset="{StaticResource A_FZMaterialPresetRoundtangle_FeaturedAuctionBackground}"/>
            <local:FZMaterial x:Name="CarImageMaterial"
                              ImageSource="{Binding CarImageSource}" 
                              Stretch="Uniform"
                              Margin="0,-50,0,65"/>
            <ContentControl Style="{StaticResource A_Style_ContentControl_TileTitlePanel_NoCorners}">
                <Grid>
                    <local:FZTextBlock Style="{StaticResource A_Style_FZTextBlock_FeaturedLiveTileTitle}"
                        local:TextBlockInlineMarkup.Markup="{Binding TitleText, Converter={StaticResource A_StringToUpper}}"/>
                    <StackPanel Orientation="Horizontal"
                        HorizontalAlignment="Center"
                        VerticalAlignment="Bottom">
                        <local:FZTextBlock Style="{StaticResource A_Style_FZTextBlock_FeaturedLiveTileText}"
                            local:TextBlockInlineMarkup.Markup="{local:Loc AuctionHouse.IDS_Time_Remaining}"
                            Color="{StaticResource A_Color_Tile_Text_OnDarkBg}"/>
                        <Decorator Width="6"/>
                        <local:FZTextBlock Style="{StaticResource A_Style_FZTextBlock_FeaturedLiveTileText}"
                            local:TextBlockInlineMarkup.Markup="{Binding DataItem.TimeRemaining, Converter={StaticResource A_Converter_AuctionTime}}"/>
                    </StackPanel>
                </Grid>
            </ContentControl>
            <StackPanel Orientation="Vertical"
                HorizontalAlignment="Left"
                VerticalAlignment="Top"
                Margin="6">
                <ContentControl Style="{StaticResource A_Style_ContentControl_InfoBoxWithIcon}"
                    Tag="{StaticResource A_BitmapImage_FeaturedAuctionInfoBox}"
                    HorizontalAlignment="Left">
                    <Grid>
                        <local:FZTextBlock Text="{local:Loc AuctionHouse.IDS_HighestBid}"
                            Style="{StaticResource A_Style_FZTextBlock_InfoBoxWithIcon_Title}"/>
                        <StackPanel Orientation="Horizontal"
                            VerticalAlignment="Bottom">
                            <local:FZMaterial Width="19"
                                Height="19"
                                Color="{StaticResource A_Color_Tile_Text}"
                                ImageSource="/ForzaUI;component/Textures/Anthem/Icons/CRIcon/CR_85_FilledCircle.png"/>
                            <Decorator Width="4"/>
                            <local:FZTextBlock Text="{Binding DataItem.HighestBid, Converter={StaticResource A_NumUnitConverter_NoUnit_0dp}}"
                                Style="{StaticResource A_Style_FZTextBlock_InfoBoxWithIcon_Value}"
                                VerticalAlignment="Center"/>
                        </StackPanel>
                    </Grid>
                </ContentControl>
                <Control Style="{StaticResource A_Style_Control_AuctionHouse_RarityPill}"
                    DataContext="{Binding DataItem}"
                    HorizontalAlignment="Left"
                    Height="33"
                    Margin="0,0,0,6"/>
                <Control Style="{StaticResource A_Style_Control_AuctionHouse_BarnFindPill}"
                    DataContext="{Binding DataItem}"
                    HorizontalAlignment="Left"
                    Height="33"
                    Margin="0,0,0,6"/>
            </StackPanel>
            <ContentControl Style="{StaticResource A_Style_ContentControl_InfoBox}"
                HorizontalAlignment="Right"
                VerticalAlignment="Bottom"
                Margin="6,6,6,76">
                <Grid>
                    <local:FZTextBlock VerticalAlignment="Top"
                        Text="{local:Loc AuctionHouse.IDS_Seller}"
                        Style="{StaticResource A_Style_FZTextBlock_InfoBox_Title}"/>
                    <local:FZTextBlock VerticalAlignment="Bottom"
                        Text="{Binding DataItem.Seller.FormattedGamertag}"
                        Style="{StaticResource A_Style_FZTextBlock_InfoBox_Value}"/>
                </Grid>
            </ContentControl>
        </Grid>
    </DataTemplate>

    <ControlTemplate x:Key="A_ControlTemplate_FeaturedTile"
                     TargetType="{x:Type local:MultiItemLiveTile}">
        <Grid Style="{StaticResource A_Style_FrameworkElement_TiledMenuTransition}">
            <VisualStateManager.VisualStateGroups>
                <VisualStateGroup x:Name="VisualStateGroup">
                    <VisualState x:Name="DisplayItems">
                        <Storyboard>
                            <DoubleAnimation Duration="0:0:0.5" To="0" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="IdleSpinner"/>
                            <DoubleAnimation Duration="0:0:0.5" To="1" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="MainSelector"/>
                            <DoubleAnimation Duration="0:0:0.5" To="1" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="DotSelector"/>
                        </Storyboard>
                    </VisualState>
                    <VisualState x:Name="Loading">
                        <Storyboard>
                        </Storyboard>
                    </VisualState>
                    <VisualState x:Name="DisplayEmpty">
                        <Storyboard>
                            <DoubleAnimation Duration="0:0:0.5" To="0" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="IdleSpinner"/>
                            <DoubleAnimation Duration="0:0:0.5" To="1" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="EmptyBackground"/>
                        </Storyboard>
                    </VisualState>
                </VisualStateGroup>
            </VisualStateManager.VisualStateGroups>
            <local:FZMaterial Style="{StaticResource A_Style_FZMaterial_TileShadow}" />
            <Grid Style="{StaticResource A_Style_Grid_MotionBlur}">
                <local:FZMaterial Style="{StaticResource A_Style_FZMaterial_MotionBlurExpander}" />
                <Grid x:Name="ContentsContainer"
                    Margin="{StaticResource A_Thickness_MultiItemLiveTileBackground}">
                    <local:FZMaterial x:Name="GlassBackground"
                        Style="{StaticResource A_Style_FZMaterial_GlassPanel_Interactive}"/>
                    <local:ItemsSelector x:Name="MainSelector"
                         SelectedIndex="{Binding SelectedItemIndex, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}"
                         Style="{StaticResource A_Style_ItemsSelector_ItemDisplay}"
                         ItemsSource="{TemplateBinding Items}" 
                         Opacity="0"/>
                    <Grid>
                        <ProgressBar x:Name="IdleSpinner"
                                     IsIndeterminate="True"
                                     Style="{StaticResource A_Style_ProgressBar_WaitSpinner}"
                                     HorizontalAlignment="Center"
                                     VerticalAlignment="Center"/>
                        <local:FZMaterial x:Name="EmptyBackground"
                            Style="{StaticResource A_Style_FZMaterial_LockableImageTileBackground_NoCorners}"
                            Preset="{StaticResource A_FZMaterialPreset_FlatPanel_Base}"
                            Opacity="0" />
                    </Grid>
                </Grid>
                <local:FZMaterial x:Name="Background"
                        Style="{StaticResource A_Style_FZMaterial_TileBackground_NoAlternate}"
                        Preset="{StaticResource A_FZMaterialPresetRoundtangleStroke_MultiItemLiveTileBackground}"/>
                <local:ItemsSelector x:Name="DotSelector"
                        SelectedIndex="{Binding SelectedItemIndex, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" 
                        Style="{StaticResource A_Style_ItemsSelector_SelectionDots}"
                        VerticalAlignment="Bottom"
                        ItemsSource="{TemplateBinding Items}"
                        Opacity="0"
                        Visibility="Visible"/>
                <ContentControl x:Name="TitlePanelControl"
                    Style="{StaticResource A_Style_ContentControl_TileTitlePanel}"
                    Tag="{Binding UseAlternateColors}"
                    Visibility="Collapsed">
                    <StackPanel Orientation="Vertical"
                        VerticalAlignment="Center">
                        <local:FZTextBlock Style="{StaticResource A_Style_FZTextBlock_TileTitle}"
                            HorizontalAlignment="Center"/>
                        <local:FZTextBlock Style="{StaticResource A_Style_FZTextBlock_TileText_ImageTile}"
                            HorizontalAlignment="Center"/>
                    </StackPanel>
                </ContentControl>
                <local:FZMaterial x:Name="BackgroundAlternate"
                        Style="{StaticResource A_Style_FZMaterial_TileBackground_NoAlternate}"
                        Preset="{StaticResource A_FZMaterialPresetRoundtangleStroke_TileBackground_EdgeBorderOnly}"
                        Visibility="Collapsed"/>
                <Grid ClipToBounds="True"
                      VerticalAlignment="Bottom">
                    <Grid x:Name="FloatingIconContainer"
                        Margin="0,0,0,-48">
                        <ContentControl x:Name="FloatingIcon"
                                    Content="{Binding DataContext.FloatingIcon, RelativeSource={RelativeSource TemplatedParent}}"
                                    Style="{StaticResource A_Style_ContentControl_FloatingIcon_Tile}"/>
                        <ContentControl Content="{Binding (local:BindingProxy.A), RelativeSource={RelativeSource TemplatedParent}}"
                                    Style="{StaticResource A_Style_ContentControl_NotificationBadge_ImageTile}" />
                    </Grid>
                </Grid>
                <ContentControl Style="{StaticResource A_Style_ContentControl_TileSelectionStroke}" />
            </Grid>
        </Grid>
        <ControlTemplate.Triggers>
            <MultiDataTrigger>
                <MultiDataTrigger.Conditions>
                    <Condition Binding="{Binding Items.Count, RelativeSource={RelativeSource Self}}" Value="0"/>
                    <Condition Binding="{Binding UseAlternateColors}" Value="False"/>
                </MultiDataTrigger.Conditions>
                <Setter TargetName="ContentsContainer" Property="Margin" Value="{StaticResource A_Thickness_TileBorderedBackground}" />
                <Setter TargetName="DotSelector" Property="Visibility" Value="Collapsed" />
                <Setter TargetName="FloatingIconContainer" Property="Margin" Value="0,0,0,0" />
                <Setter TargetName="Background" Property="Preset" Value="{StaticResource A_FZMaterialPresetRoundtangleStroke_TileBackground_BorderedImage}"/>
                <Setter TargetName="TitlePanelControl" Property="Visibility" Value="Visible" />
            </MultiDataTrigger>
            <MultiDataTrigger>
                <MultiDataTrigger.Conditions>
                    <Condition Binding="{Binding Items.Count, RelativeSource={RelativeSource Self}}" Value="0"/>
                    <Condition Binding="{Binding UseAlternateColors}" Value="True"/>
                </MultiDataTrigger.Conditions>
                <Setter TargetName="ContentsContainer" Property="Margin" Value="{StaticResource A_Thickness_TileEdgeBorderOnly}" />
                <Setter TargetName="DotSelector" Property="Visibility" Value="Collapsed" />
                <Setter TargetName="FloatingIconContainer" Property="Visibility" Value="Collapsed" />
                <Setter TargetName="Background" Property="Visibility" Value="Collapsed"/>
                <Setter TargetName="BackgroundAlternate" Property="Visibility" Value="Visible"/>
                <Setter TargetName="TitlePanelControl" Property="Visibility" Value="Visible" />
            </MultiDataTrigger>
        </ControlTemplate.Triggers>
    </ControlTemplate>

    <Style x:Key="A_Style_Button_FeaturedTile"
        TargetType="{x:Type local:MultiItemLiveTile}"
        BasedOn="{StaticResource A_Style_Button_RootTile}">
        <Setter Property="Template" Value="{StaticResource A_ControlTemplate_FeaturedTile}" />
        <Setter Property="local:TileMenuNavigationManager.GridWidth" Value="21" />
        <Setter Property="local:TileMenuNavigationManager.GridHeight" Value="14" />
        <Style.Triggers>
            <MultiDataTrigger>
                <MultiDataTrigger.Conditions>
                    <Condition Binding="{Binding (local:TileMenuNavigationManager.IsOnActiveMenu), RelativeSource={RelativeSource Self}}"
                        Value="True"/>
                    <Condition Binding="{Binding IsFocused, RelativeSource={RelativeSource Self}}"
                        Value="False"/>
                </MultiDataTrigger.Conditions>
                <Setter Property="ShouldAutoCycle" Value="True"/>
            </MultiDataTrigger>
        </Style.Triggers>
    </Style>
</ResourceDictionary>
