<ResourceDictionary 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" 
                    mc:Ignorable="d">

    <Style TargetType="{x:Type GridViewGameOverview}">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type GridViewGameOverview}">
                    <Border Padding="10,0,5,20"
                            d:DataContext="{x:Static DesignMainViewModel.DesignSelectedGameDetailsIntance}">
                        <DockPanel>

                            <Button HorizontalAlignment="Right" VerticalAlignment="Top"
                                    Content="r" FontFamily="Marlett"
                                    Style="{DynamicResource SimpleButton}"
                                    Command="{MainViewModel CloseGameSideBarCommand}"
                                    DockPanel.Dock="Top" Margin="0,10,15,5" />

                            <TextBlock Text="{DynamicResource LOCErrorNoGameSelected}" 
                                   Margin="0,20,0,0" DockPanel.Dock="Top"
                                   HorizontalAlignment="Center" VerticalAlignment="Center">
                                <TextBlock.Style>
                                    <Style TargetType="TextBlock" BasedOn="{StaticResource BaseTextBlockStyle}">
                                        <Setter Property="Visibility" Value="Collapsed" />
                                        <Style.Triggers>
                                            <Trigger Property="DataContext" Value="{x:Null}">
                                                <Setter Property="Visibility" Value="Visible" />
                                            </Trigger>
                                        </Style.Triggers>
                                    </Style>
                                </TextBlock.Style>
                            </TextBlock>

                            <DockPanel DockPanel.Dock="Top">
                                <DockPanel.Style>
                                    <Style TargetType="DockPanel">
                                        <Style.Triggers>
                                            <Trigger Property="DataContext" Value="{x:Null}">
                                                <Setter Property="Visibility" Value="Collapsed" />
                                            </Trigger>
                                        </Style.Triggers>
                                    </Style>
                                </DockPanel.Style>

                                <Grid x:Name="ExtraMetadataLoader_LogoLoaderControlGrid"
                                      DockPanel.Dock="Top" Tag="{DynamicResource GridViewAllowUseOfLogos}">
                                    <Grid.Style>
                                        <Style TargetType="Grid">
                                            <Setter Property="Visibility" Value="Visible" />
                                            <Style.Triggers>
                                                <DataTrigger Binding="{PluginSettings Plugin=ExtraMetadataLoader, Path=EnableLogos, FallbackValue=False}" Value="false">
                                                    <Setter Property="Visibility" Value="Collapsed" />
                                                </DataTrigger>
                                                <DataTrigger Binding="{Binding Tag, RelativeSource={RelativeSource Self}, FallbackValue=False}" Value="false" >
                                                    <Setter Property="Visibility" Value="Collapsed" />
                                                </DataTrigger>
                                            </Style.Triggers>
                                        </Style>
                                    </Grid.Style>
                                    <Border Padding="10,5,10,10" Height="{PluginSettings Plugin=ExtraMetadataLoader, Path=LogoMaxHeight, FallbackValue=0}" MaxWidth="{PluginSettings Plugin=ExtraMetadataLoader, Path=LogoMaxWidth, FallbackValue=0}">
                                        <ContentControl x:Name="ExtraMetadataLoader_LogoLoaderControl" VerticalAlignment="Center" />
                                    </Border>
                                </Grid>

                                <DockPanel DockPanel.Dock="Top">
                                    <Image Name="PART_ImageIcon" DockPanel.Dock="Left" MaxHeight="32" MaxWidth="32"
                                           RenderOptions.BitmapScalingMode="Fant" Margin="0,0,10,0">
                                        <Image.Clip>
                                            <RectangleGeometry RadiusX="4" RadiusY="4" Rect="0,0,32,32" />
                                        </Image.Clip>
                                    </Image>
                                    <ContentControl x:Name="NewsViewer_PlayersInGameViewerControl"
                                                    DockPanel.Dock="Right">
                                        <ContentControl.Resources>
                                            <Style TargetType="Button" BasedOn="{StaticResource PlayersCountButtonStyle}">
                                                <Setter Property="Foreground" Value="{DynamicResource PlayersCountGridViewForegroundBrush}" />
                                                <Setter Property="Background" Value="Transparent" />
                                                <Setter Property="BorderThickness" Value="0" />
                                                <Setter Property="Padding" Value="0" />
                                            </Style>
                                        </ContentControl.Resources>
                                    </ContentControl>
                                    <Border DockPanel.Dock="Left" Margin="0,0,10,0"
                                            Tag="{DynamicResource GridViewDisplayGameNameIfLogoVisible}">
                                        <Border.Style>
                                            <Style TargetType="Border">
                                                <Setter Property="Visibility" Value="Visible" />
                                                <Style.Triggers>
                                                    <MultiDataTrigger>
                                                        <MultiDataTrigger.Conditions>
                                                            <Condition Binding="{Binding Tag, RelativeSource={RelativeSource Self}, FallbackValue=False}" Value="False" />
                                                            <Condition Binding="{Binding ElementName=ExtraMetadataLoader_LogoLoaderControlGrid, Path=Visibility}" Value="Visible" />
                                                            <Condition Binding="{Binding ElementName=ExtraMetadataLoader_LogoLoaderControl, Path=Visibility, FallbackValue=Collapsed}" Value="Visible" />
                                                            <Condition Binding="{PluginSettings Plugin=ExtraMetadataLoader, Path=IsLogoAvailable, FallbackValue=False}" Value="True" />
                                                        </MultiDataTrigger.Conditions>
                                                        <Setter Property="Visibility" Value="Collapsed" />
                                                    </MultiDataTrigger>
                                                </Style.Triggers>
                                            </Style>
                                        </Border.Style>
                                        <TextBlock Name="PART_TextDisplayName" FontSize="{DynamicResource FontSizeLarger}"
                                                   TextWrapping="Wrap" 
                                                   VerticalAlignment="Center" Foreground="{DynamicResource TextBrush}">
                                            <TextBlock.Effect>
                                                <DropShadowEffect ShadowDepth="2"/>
                                            </TextBlock.Effect>
                                        </TextBlock>
                                    </Border>

                                </DockPanel>

                                <DockPanel Margin="0,5,0,0" DockPanel.Dock="Top" LastChildFill="False">
                                    <ContentControl x:Name="DuplicateHider_SourceSelector" 
                                        Visibility="{PluginSettings Plugin=DuplicateHider, Path=EnableUiIntegration, FallbackValue=Collapsed, Converter={StaticResource BooleanToVisibilityConverter}}"
                                        DockPanel.Dock="Right"
                                                    HorizontalAlignment="Right"
                                        VerticalContentAlignment="Center"
                                                    VerticalAlignment="Center"
                                        Margin="0,0,0,0"  
                                        Height="24"
                                        RenderOptions.BitmapScalingMode="Fant" />

                                    <ContentControl x:Name="GogSecondClassWatcher_SecondClassWatcherControl"
                                                    DockPanel.Dock="Right"
                                                    HorizontalAlignment="Right"
                                                            VerticalAlignment="Center"
                                                            Visibility="{PluginSettings Plugin=GogSecondClassWatcher, Path=IsControlVisible, FallbackValue=Collapsed, Converter={StaticResource BooleanToVisibilityConverter}}"
                                                            Margin="0,0,10,0"/>
                                </DockPanel>

                                <DockPanel DockPanel.Dock="Top" Margin="0,10,0,10">
                                    <Button Name="PART_ButtonPlayAction" Style="{DynamicResource PlayButton}" />
                                    <Button Name="PART_ButtonContextAction" Style="{DynamicResource ContextButton}" />
                                    <Button Name="PART_ButtonMoreActions" Style="{DynamicResource MoreActionsButton}"/>

                                    <DockPanel DockPanel.Dock="Right" HorizontalAlignment="Right" LastChildFill="False" Grid.Column="2" VerticalAlignment="Center" Margin="20,0,5,0">
                                        <ContentControl x:Name="PlayState_GameStateSwitchControl" Margin="10,0,0,0"
                                                        Visibility="{PluginSettings Plugin=PlayState, Path=IsControlVisible, FallbackValue=Collapsed, Converter={StaticResource BooleanToVisibilityConverter}}">
                                            <ContentControl.Resources>
                                                <Style TargetType="Button" BasedOn="{StaticResource DetailsSemiTransparentButton}" >
                                                    <Setter Property="Width" Value="32" />
                                                    <Setter Property="Height" Value="45" />
                                                </Style>
                                            </ContentControl.Resources>
                                        </ContentControl>
                                        <Button x:Name="PART_ButtonEditGame" Focusable="False" Height="45" Width="32"
                                                Style="{StaticResource DetailsViewEditButton}" Margin="10,0,0,0"/>
                                        <ToggleButton Name="GameFavoriteToggleButton" Margin="10,0,0,0" Focusable="False" Height="45" Width="32" Style="{DynamicResource PannelFavoriteToggleButton}"
                                                      Visibility="{PluginStatus Plugin=felixkmh_Extras_Plugin}"
                                                      IsChecked="{PluginSettings Plugin=ThemeExtras, Path=Game.Favorite, Mode=TwoWay, FallbackValue={StaticResource False}}"/>
                                    </DockPanel>
                                </DockPanel>

                                <ScrollViewer DockPanel.Dock="Top" HorizontalAlignment="Stretch"
                                              HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Auto"
                                              x:Name="PART_ScrollViewHost">
                                    <Grid>
                                        <Grid.RowDefinitions>
                                            <RowDefinition Height="Auto" />
                                            <RowDefinition Height="Auto" />
                                            <RowDefinition Height="Auto" />
                                            <RowDefinition Height="Auto" />
                                            <RowDefinition Height="Auto" />
                                            <RowDefinition Height="Auto" />
                                            <RowDefinition Height="Auto" />
                                            <RowDefinition Height="Auto" />
                                            <RowDefinition Height="Auto" />
                                            <RowDefinition Height="Auto" />
                                            <RowDefinition Height="Auto" />
                                            <RowDefinition Height="Auto" />
                                            <RowDefinition Height="Auto" />
                                            <RowDefinition Height="Auto" />
                                            <RowDefinition Height="Auto" />
                                            <RowDefinition Height="Auto" />
                                            <RowDefinition Height="Auto" />
                                            <RowDefinition Height="Auto" />
                                            <RowDefinition Height="Auto" />
                                        </Grid.RowDefinitions>
                                        <Expander Grid.Row="{DynamicResource GridViewSectionOrderDetails}"
                                                  IsExpanded="True"
                                                  Margin="0,0,5,0">
                                            <Expander.Header>
                                                <TextBlock Text="{DynamicResource LOCGameDetails}" Style="{DynamicResource BaseTextBlockStyle}"
                                                           Cursor="Hand"
                                                           FontWeight="Medium" FontSize="{DynamicResource FontSizeLarge}" />
                                            </Expander.Header>
                                            <StackPanel Margin="0,0,0,25">
                                                <StackPanel.Resources>
                                                    <Style TargetType="ItemsControl">
                                                        <Setter Property="VerticalAlignment" Value="Center" />
                                                    </Style>
                                                    <Style TargetType="Label" BasedOn="{StaticResource {x:Type Label}}">
                                                        <Setter Property="Margin" Value="0,4,8,4" />
                                                        <Setter Property="VerticalAlignment" Value="Top" />
                                                        <Setter Property="Foreground" Value="{DynamicResource TextBrush}" />
                                                    </Style>
                                                    <Style TargetType="Button" BasedOn="{StaticResource PropertyItemButton}" />
                                                </StackPanel.Resources>
                                                <Separator Background="{DynamicResource HighlightGlyphBrush}" Margin="0,5,0,5"/>
                                                <GridEx x:Name="GridEx" Margin="0,5,0,10"
                                                        ColumnCount="2" StarColumns="1"
                                                        RowCount="25" AutoLayoutColumns="2"
                                                        Tag="{DynamicResource GridViewDetailsIconsVisibility}">
                                                    <Grid.Resources>
                                                        <Style TargetType="TextBlock" BasedOn="{StaticResource BaseTextBlockStyle}" />
                                                        <Style x:Key="Icon" TargetType="TextBlock" BasedOn="{StaticResource BaseTextBlockStyle}">
                                                            <Setter Property="Width" Value="24"/>
                                                            <Setter Property="FontFamily" Value="{StaticResource FontIcoFont}" />
                                                            <Setter Property="Foreground" Value="{DynamicResource GlyphBrush}" />
                                                            <Setter Property="Visibility" Value="{Binding ElementName=GridEx, Path=Tag}" />
                                                            <Setter Property="VerticalAlignment" Value="Center" />
                                                        </Style>
                                                        <Style TargetType="Label">
                                                            <Setter Property="FontWeight" Value="Normal" />
                                                            <Setter Property="Foreground" Value="{DynamicResource TextBrush}" />
                                                        </Style>
                                                    </Grid.Resources>

                                                    <Label Name="PART_ElemPlayTime" >
                                                        <StackPanel Orientation="Horizontal">
                                                            <TextBlock Text="&#xEEDC;" Style="{DynamicResource Icon}" />
                                                            <TextBlock Text="{DynamicResource LOCTimePlayed}" />
                                                        </StackPanel>
                                                    </Label>
                                                    <TextBlock Name="PART_TextPlayTime" VerticalAlignment="Center" />

                                                    <Label Name="PART_ElemLastPlayed" >
                                                        <StackPanel Orientation="Horizontal">
                                                            <TextBlock Text="&#xEC45;" Style="{DynamicResource Icon}" />
                                                            <TextBlock Text="{DynamicResource LOCLastPlayed}" />
                                                        </StackPanel>
                                                    </Label>
                                                    <TextBlock Name="PART_TextLastActivity" VerticalAlignment="Center" />

                                                    <Label Name="PART_ElemRecentActivity" >
                                                        <StackPanel Orientation="Horizontal">
                                                            <TextBlock Text="&#xEC45;" Style="{DynamicResource Icon}" />
                                                            <TextBlock Text="{DynamicResource LOCRecentActivityLabel}" />
                                                        </StackPanel>
                                                    </Label>
                                                    <TextBlock Name="PART_TextRecentActivity" VerticalAlignment="Center" />

                                                    <Label Name="PART_ElemAdded" >
                                                        <StackPanel Orientation="Horizontal">
                                                            <TextBlock Text="&#xEC45;" Style="{DynamicResource Icon}" />
                                                            <TextBlock Text="{DynamicResource LOCDateAddedLabel}" />
                                                        </StackPanel>
                                                    </Label>
                                                    <TextBlock Name="PART_TextAdded" VerticalAlignment="Center" />

                                                    <Label Visibility="{Binding ElementName=CompStatusElemsGrid, Path=Visibility}">
                                                        <StackPanel Orientation="Horizontal">
                                                            <TextBlock Text="&#xEED6;" Style="{DynamicResource Icon}" />
                                                            <TextBlock Text="{DynamicResource LOCCompletionStatus}" />
                                                        </StackPanel>
                                                    </Label>
                                                    
                                                    <Grid x:Name="CompStatusElemsGrid" VerticalAlignment="Center">
                                                        <Grid.Style>
                                                            <Style TargetType="Grid">
                                                                <Setter Property="Visibility" Value="Collapsed" />
                                                                <Style.Triggers>
                                                                    <DataTrigger Binding="{Binding ElementName=PART_ButtonCompletionStatus, Path=Visibility}" Value="Visible">
                                                                        <Setter Property="Visibility" Value="Visible" />
                                                                    </DataTrigger>
                                                                    <DataTrigger Binding="{Binding ElementName=ThemeExtras_SettableCompletionStatus, Path=Visibility}" Value="Visible">
                                                                        <Setter Property="Visibility" Value="Visible" />
                                                                    </DataTrigger>
                                                                    <DataTrigger Binding="{Settings DetailsVisibility.CompletionStatus}" Value="False">
                                                                        <Setter Property="Visibility" Value="Collapsed" />
                                                                    </DataTrigger>
                                                                </Style.Triggers>
                                                            </Style>
                                                        </Grid.Style>

                                                        <ContentControl Visibility="{PluginStatus Plugin=felixkmh_Extras_Plugin, Status=Installed}"
                                                                        HorizontalAlignment="Left"
                                                                        x:Name="ThemeExtras_SettableCompletionStatus">
                                                            <ContentControl.Resources>
                                                                <Style TargetType="UserControl" BasedOn="{StaticResource ThemeExtrasUserControlCompStatusStyle}" />
                                                            </ContentControl.Resources>
                                                        </ContentControl>

                                                        <Border Tag="{PluginStatus Plugin=felixkmh_Extras_Plugin, Status=Installed}"
                                                                Visibility="{Binding RelativeSource={RelativeSource Self}, Path=Tag, Converter={StaticResource InvertedBooleanToVisibilityConverter}}">
                                                            <Button Name="PART_ButtonCompletionStatus" VerticalAlignment="Center" />
                                                        </Border>
                                                    </Grid>

                                                    <Label Name="PART_ElemInstallDirectory" >
                                                        <StackPanel Orientation="Horizontal">
                                                            <TextBlock Text="&#xEC5B;" Style="{DynamicResource Icon}" />
                                                            <TextBlock Text="{DynamicResource LOCGameInstallDirTitle}" />
                                                        </StackPanel>
                                                    </Label>
                                                    <Button Name="PART_ButtonInstallDirectory" VerticalAlignment="Center" />

                                                    <Label Name="PART_ElemInstallSize" >
                                                        <StackPanel Orientation="Horizontal">
                                                            <TextBlock Text="&#xef43;" Style="{DynamicResource Icon}" />
                                                            <TextBlock Text="{DynamicResource LOCInstallSizeLabel}" />
                                                        </StackPanel>
                                                    </Label>
                                                    <TextBlock Name="PART_TextInstallSize" VerticalAlignment="Center" />
                                                    <Label Name="PART_ElemReleaseDate" >
                                                        <StackPanel Orientation="Horizontal">
                                                            <TextBlock Text="&#xEC45;" Style="{DynamicResource Icon}" />
                                                            <TextBlock Text="{DynamicResource LOCGameReleaseDateTitle}" />
                                                        </StackPanel>
                                                    </Label>
                                                    <Button Name="PART_ButtonReleaseDate" VerticalAlignment="Center" />
                                                    <Label Name="PART_ElemLibrary" >
                                                        <StackPanel Orientation="Horizontal">
                                                            <TextBlock Text="&#xEF65;" Style="{DynamicResource Icon}" />
                                                            <TextBlock Text="{DynamicResource LOCGameProviderTitle}" />
                                                        </StackPanel>
                                                    </Label>
                                                    <Button Name="PART_ButtonLibrary" VerticalAlignment="Center" />
                                                    <Label Name="PART_ElemSource" >
                                                        <StackPanel Orientation="Horizontal">
                                                            <TextBlock Text="&#xEF65;" Style="{DynamicResource Icon}" />
                                                            <TextBlock Text="{DynamicResource LOCSourceLabel}" />
                                                        </StackPanel>
                                                    </Label>
                                                    <Button Name="PART_ButtonSource" VerticalAlignment="Center" />
                                                    <Label Name="PART_ElemPlatform" >
                                                        <StackPanel Orientation="Horizontal">
                                                            <TextBlock Text="&#xEEEE;" Style="{DynamicResource Icon}" />
                                                            <TextBlock Text="{DynamicResource LOCGamePlatformTitle}" />
                                                        </StackPanel>
                                                    </Label>
                                                    <ItemsControl Name="PART_ItemsPlatforms" />

                                                    <Label Name="PART_ElemCategories" >
                                                        <StackPanel Orientation="Horizontal">
                                                            <TextBlock Text="&#xEF74;" Style="{DynamicResource Icon}" />
                                                            <TextBlock Text="{DynamicResource LOCGameCategoriesTitle}" />
                                                        </StackPanel>
                                                    </Label>
                                                    <ItemsControl Name="PART_ItemsCategories" />

                                                    <Label Name="PART_ElemGenres" >
                                                        <StackPanel Orientation="Horizontal">
                                                            <TextBlock Text="&#xEF74;" Style="{DynamicResource Icon}" />
                                                            <TextBlock Text="{DynamicResource LOCGenreLabel}" />
                                                        </StackPanel>
                                                    </Label>
                                                    <ItemsControl Name="PART_ItemsGenres" />

                                                    <Label Name="PART_ElemDevelopers" >
                                                        <StackPanel Orientation="Horizontal">
                                                            <TextBlock Text="&#xEEF3;" Style="{DynamicResource Icon}" />
                                                            <TextBlock Text="{DynamicResource LOCDeveloperLabel}" />
                                                        </StackPanel>
                                                    </Label>
                                                    <ItemsControl Name="PART_ItemsDevelopers" />

                                                    <Label Name="PART_ElemPublishers" >
                                                        <StackPanel Orientation="Horizontal">
                                                            <TextBlock Text="&#xEEF3;" Style="{DynamicResource Icon}" />
                                                            <TextBlock Text="{DynamicResource LOCPublisherLabel}" />
                                                        </StackPanel>
                                                    </Label>
                                                    <ItemsControl Name="PART_ItemsPublishers" />

                                                    <Label Name="PART_ElemAgeRating" >
                                                        <StackPanel Orientation="Horizontal">
                                                            <TextBlock Text="&#xEF1A;" Style="{DynamicResource Icon}" />
                                                            <TextBlock Text="{DynamicResource LOCAgeRatingLabel}" />
                                                        </StackPanel>
                                                    </Label>
                                                    <ItemsControl Name="PART_ItemsAgeRatings" />

                                                    <Label Name="PART_ElemSeries" >
                                                        <StackPanel Orientation="Horizontal">
                                                            <TextBlock Text="&#xEEEF;" Style="{DynamicResource Icon}" />
                                                            <TextBlock Text="{DynamicResource LOCSeriesLabel}" />
                                                        </StackPanel>
                                                    </Label>
                                                    <ItemsControl Name="PART_ItemsSeries" />

                                                    <Label Name="PART_ElemRegion" >
                                                        <StackPanel Orientation="Horizontal">
                                                            <TextBlock Text="&#xF02C;" Style="{DynamicResource Icon}" />
                                                            <TextBlock Text="{DynamicResource LOCRegionLabel}" />
                                                        </StackPanel>
                                                    </Label>
                                                    <ItemsControl Name="PART_ItemsRegions" />

                                                    <Label Name="PART_ElemVersion" >
                                                        <StackPanel Orientation="Horizontal">
                                                            <TextBlock Text="&#xEFD1;" Style="{DynamicResource Icon}" />
                                                            <TextBlock Text="{DynamicResource LOCVersionLabel}" />
                                                        </StackPanel>
                                                    </Label>
                                                    <Button Name="PART_ButtonVersion" VerticalAlignment="Center" />

                                                    <Label Name="PART_ElemCommunityScore" >
                                                        <StackPanel Orientation="Horizontal">
                                                            <TextBlock Text="&#xF000;" Style="{DynamicResource Icon}" />
                                                            <TextBlock Text="{DynamicResource LOCCommunityScore}" />
                                                        </StackPanel>
                                                    </Label>
                                                    <StackPanel Orientation="Horizontal"
                                                                Visibility="{Binding ElementName=PART_TextCommunityScore, Path=Visibility}">
                                                        <TextBlock Name="PART_TextCommunityScore" VerticalAlignment="Center"
                                                                   Style="{DynamicResource TextBlockGameScore}" />
                                                        <ContentControl Content="{Binding Game.CommunityScore}"
                                                                        Padding="6,0,0,4"
                                                                        HorizontalAlignment="Left"
                                                                        VerticalAlignment="Center"
                                                                        Background="Transparent"
                                                                        Foreground="{Binding ElementName=PART_TextCommunityScore, Path=Foreground}"
                                                                        Height="{Binding ElementName=PART_TextCommunityScore, Path=ActualHeight}"
                                                                        ContentTemplate="{StaticResource FiveStarScoreTemplate}"/>
                                                    </StackPanel>

                                                    <Label Name="PART_ElemCriticScore" >
                                                        <StackPanel Orientation="Horizontal">
                                                            <TextBlock Text="&#xF000;" Style="{DynamicResource Icon}" />
                                                            <TextBlock Text="{DynamicResource LOCCriticScore}" />
                                                        </StackPanel>
                                                    </Label>
                                                    <StackPanel Orientation="Horizontal"
                                                                Visibility="{Binding ElementName=PART_TextCriticScore, Path=Visibility}">
                                                        <TextBlock Name="PART_TextCriticScore" VerticalAlignment="Center"
                                                                   Style="{DynamicResource TextBlockGameScore}" />
                                                        <ContentControl Content="{Binding Game.CriticScore}"
                                                                        Padding="6,0,0,4"
                                                                        HorizontalAlignment="Left"
                                                                        VerticalAlignment="Center"
                                                                        Background="Transparent"
                                                                        Foreground="{Binding ElementName=PART_TextCriticScore, Path=Foreground}"
                                                                        Height="{Binding ElementName=PART_TextCriticScore, Path=ActualHeight}"
                                                                        ContentTemplate="{StaticResource FiveStarScoreTemplate}"/>
                                                    </StackPanel>

                                                    <Label Name="PART_ElemUserScore" >
                                                        <StackPanel Orientation="Horizontal">
                                                            <TextBlock Text="&#xF000;" Style="{DynamicResource Icon}" />
                                                            <TextBlock Text="{DynamicResource LOCUserScore}" />
                                                        </StackPanel>
                                                    </Label>
                                                    <StackPanel Orientation="Horizontal"
                                                                Visibility="{Binding ElementName=PART_TextUserScore, Path=Visibility}">
                                                        <TextBlock Name="PART_TextUserScore" VerticalAlignment="Center"
                                                                   Style="{DynamicResource TextBlockGameScore}" />
                                                        <ContentControl Content="{Binding Game.UserScore}"
                                                                        Padding="6,0,0,4"
                                                                        HorizontalAlignment="Left"
                                                                        VerticalAlignment="Center"
                                                                        Background="Transparent"
                                                                        Foreground="{Binding ElementName=PART_TextUserScore, Path=Foreground}"
                                                                        Height="{Binding ElementName=PART_TextUserScore, Path=ActualHeight}"
                                                                        ContentTemplate="{StaticResource FiveStarScoreTemplate}"/>
                                                    </StackPanel>

                                                    <Label Name="PART_ElemFeatures" >
                                                        <StackPanel Orientation="Horizontal">
                                                            <TextBlock Text="&#xEF74;" Style="{DynamicResource Icon}" />
                                                            <TextBlock Text="{DynamicResource LOCFeaturesLabel}" />
                                                        </StackPanel>
                                                    </Label>
                                                    <ItemsControl Name="PART_ItemsFeatures" />

                                                    <Label Name="PART_ElemTags" >
                                                        <StackPanel Orientation="Horizontal">
                                                            <TextBlock Text="&#xEC85;" Style="{DynamicResource Icon}" />
                                                            <TextBlock Text="{DynamicResource LOCTagsLabel}" />
                                                        </StackPanel>
                                                    </Label>
                                                    <ItemsControl Name="PART_ItemsTags" />

                                                    <Label Name="PART_ElemLinks" >
                                                        <StackPanel Orientation="Horizontal">
                                                            <TextBlock Text="&#xEF71;" Style="{DynamicResource Icon}" />
                                                            <TextBlock Text="{DynamicResource LOCLinksLabel}" />
                                                        </StackPanel>
                                                    </Label>
                                                    
                                                    <ItemsControl ItemsSource="{Binding Game.Links}"
                                                                  Visibility="{Binding ElementName=PART_ElemLinks, Path=Visibility}">
                                                        <ItemsControl.ItemsPanel>
                                                            <ItemsPanelTemplate>
                                                                <StackPanel/>
                                                            </ItemsPanelTemplate>
                                                        </ItemsControl.ItemsPanel>
                                                        <ItemsControl.ItemTemplate>
                                                            <DataTemplate DataType="{x:Type Link}">
                                                                <Button Content="{Binding Name}"
                                                                        Style="{StaticResource PropertyItemLinkButton}"
                                                                        ToolTip="{Binding Url}"
                                                                        Command="{Binding RelativeSource={RelativeSource AncestorType=ItemsControl}, Path=DataContext.OpenLinkCommand}"
                                                                        CommandParameter="{Binding}"/>
                                                            </DataTemplate>
                                                        </ItemsControl.ItemTemplate>
                                                    </ItemsControl>
                                                </GridEx>
                                            </StackPanel>
                                        </Expander>
                                        
                                        <!--#region ExtraMetadataLoader Video Control-->
                                        <TextBlock x:Name="VideoFeedVisibilityProxy"
                                                   Grid.Row="{DynamicResource GridViewSectionOrderVideo}">
                                            <TextBlock.Style>
                                                <Style TargetType="TextBlock">
                                                    <Setter Property="Visibility" Value="Visible" />
                                                    <Style.Triggers>
                                                        <DataTrigger Binding="{PluginSettings Plugin=ExtraMetadataLoader, Path=IsAnyVideoAvailable, FallbackValue=False}" Value="False">
                                                            <Setter Property="Visibility" Value="Collapsed" />
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{PluginSettings Plugin=ExtraMetadataLoader, Path=EnableVideoPlayer, FallbackValue=False}" Value="False">
                                                            <Setter Property="Visibility" Value="Collapsed" />
                                                        </DataTrigger>
                                                    </Style.Triggers>
                                                </Style>
                                            </TextBlock.Style>
                                        </TextBlock>
                                        <Expander Name="VideoFeed"
                                                  Grid.Row="{DynamicResource GridViewSectionOrderVideo}"
                                                  IsExpanded="True"
                                                  Visibility="{Binding ElementName=VideoFeedVisibilityProxy, Path=Visibility}"
                                                  Margin="0,0,5,0">
                                            <Expander.Header>
                                                <TextBlock Text="{DynamicResource LOCExtra_Metadata_Loader_VideoLabel}" Style="{DynamicResource BaseTextBlockStyle}"
                                                           Cursor="Hand"
                                                           FontWeight="Medium" FontSize="{DynamicResource FontSizeLarge}" />
                                            </Expander.Header>
                                            <StackPanel Margin="0,0,0,25">
                                                <Separator Background="{DynamicResource HighlightGlyphBrush}" Margin="0,5,0,5"/>
                                                <Grid>
                                                    <!--Rectangle used to expand the panel while the video loads-->
                                                    <Viewbox Stretch="Uniform" Visibility="{Binding ElementName=VideoFeed, Path=Visibility}">
                                                        <Rectangle Width="16" Height="9" Fill="Transparent" IsHitTestVisible="False" />
                                                    </Viewbox>
                                                    <ContentControl x:Name="ExtraMetadataLoader_VideoLoaderControl" />
                                                </Grid>
                                            </StackPanel>
                                        </Expander>
                                        <!--#endregion -->
                                        <Border Grid.Row="{DynamicResource GridViewSectionOrderNotes}">
                                            <Border.Style>
                                                <Style TargetType="Border">
                                                    <Setter Property="Visibility" Value="Collapsed" />
                                                    <Style.Triggers>
                                                        <DataTrigger Binding="{Binding ElementName=PART_TextNotes, Path=Visibility}" Value="Visible">
                                                            <Setter Property="Visibility" Value="Visible" />
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{PluginSettings Plugin=PlayNotes, Path=IsControlVisible, FallbackValue=False}" Value="True">
                                                            <Setter Property="Visibility" Value="Visible" />
                                                        </DataTrigger>
                                                    </Style.Triggers>
                                                </Style>
                                            </Border.Style>

                                            <Expander IsExpanded="True"
                                                  Margin="0,0,5,0">
                                                <Expander.Header>
                                                    <TextBlock Text="{DynamicResource LOCNotesLabel}" Style="{DynamicResource BaseTextBlockStyle}"
                                                           Cursor="Hand"
                                                           FontWeight="Medium" FontSize="{DynamicResource FontSizeLarge}" />
                                                </Expander.Header>
                                                <StackPanel Margin="0,0,0,25">
                                                    <Separator Background="{DynamicResource HighlightGlyphBrush}" Margin="0,5,0,5"/>
                                                    <TextBox Name="PART_TextNotes" IsReadOnly="True"
                                                         Background="Transparent"
                                                         BorderThickness="0"
                                                         AcceptsReturn="True" TextWrapping="Wrap"
                                                         Margin="-1,0,-1,0" Padding="0"/>

                                                    <ContentControl x:Name="PlayNotes_NotesViewerControl"
                                                                    Visibility="{PluginSettings Plugin=PlayNotes, Path=IsControlVisible, Converter={StaticResource BooleanToVisibilityConverter}, FallbackValue=Collapsed}"
                                                                    Margin="0,10,0,0" />
                                                </StackPanel>
                                            </Expander>
                                        </Border>


                                        <Expander Name="PART_ElemDescription"
                                                  Grid.Row="{DynamicResource GridViewSectionOrderDescription}"
                                                  IsExpanded="True"
                                                  Margin="0,0,5,0">
                                            <Expander.Header>
                                                <TextBlock Text="{DynamicResource LOCGameDescriptionTitle}" Style="{DynamicResource BaseTextBlockStyle}"
                                                           Cursor="Hand"
                                                           FontWeight="Medium" FontSize="{DynamicResource FontSizeLarge}" />
                                            </Expander.Header>
                                            <StackPanel Margin="0,0,0,25">
                                                <Separator Background="{DynamicResource HighlightGlyphBrush}" Margin="0,5,0,5"/>
                                                <HtmlTextView Name="PART_HtmlDescription"
                                                              HtmlFontSize="{DynamicResource FontSize}"
                                                              HtmlFontFamily="{DynamicResource FontFamily}"
                                                              HtmlForeground="{DynamicResource TextColor}"
                                                              LinkForeground="{DynamicResource GlyphColor}"                                      
                                                              ScrollViewer.HorizontalScrollBarVisibility="Disabled"
                                                              ScrollViewer.VerticalScrollBarVisibility="Disabled"/>
                                            </StackPanel>
                                        </Expander>

                                        <Expander Grid.Row="{DynamicResource GridViewSectionOrderVndb}"
                                                  IsExpanded="True"
                                                  Visibility="{PluginSettings Plugin=VNDBNexus, Path=IsControlVisible, FallbackValue=Collapsed, Converter={StaticResource BooleanToVisibilityConverter}}"
                                                  Margin="0,0,5,0">
                                            <Expander.Header>
                                                <TextBlock Text="VNDB" Style="{DynamicResource BaseTextBlockStyle}"
                                                           Cursor="Hand"
                                                           FontWeight="Medium" FontSize="{DynamicResource FontSizeLarge}" />
                                            </Expander.Header>
                                            <StackPanel Margin="0,0,0,25">
                                                <Separator Background="{DynamicResource HighlightGlyphBrush}" Margin="0,5,0,5"/>
                                                <ContentControl x:Name="VNDBNexus_VndbVisualNovelViewControl" Margin="0,10,20,0" />
                                            </StackPanel>
                                        </Expander>
                                        
                                        <!--#region SuccessStory-->
                                        <Expander Grid.Row="{DynamicResource GridViewSectionOrderSuccessStory}"
                                                  IsExpanded="True"
                                                  Visibility="{PluginSettings Plugin=SuccessStory, Path=HasData, FallbackValue=Collapsed, Converter={StaticResource BooleanToVisibilityConverter}}"
                                                  Margin="0,0,5,0">
                                            <Expander.Header>
                                                <TextBlock Text="{DynamicResource LOCSuccessStoryAchievements}" Style="{DynamicResource BaseTextBlockStyle}"
                                                           Cursor="Hand"
                                                           FontWeight="Medium" FontSize="{DynamicResource FontSizeLarge}" />
                                            </Expander.Header>
                                            <StackPanel Margin="0,0,0,25">
                                                <Separator Background="{DynamicResource HighlightGlyphBrush}" Margin="0,5,0,5"/>
                                                <DockPanel Margin="0,10,0,0">
                                                    <ContentControl DockPanel.Dock="Left" x:Name="SuccessStory_PluginButton" Height="40" VerticalAlignment="Center"/>
                                                    <ContentControl x:Name="SuccessStory_PluginProgressBar" Margin="5,5,20,0" VerticalAlignment="Center" Height="28" />
                                                </DockPanel>
                                                <ContentControl x:Name="SuccessStory_PluginCompactUnlocked" Margin="0,10,20,0" />
                                                <ContentControl x:Name="SuccessStory_PluginCompactLocked" Margin="0,10,20,0" />
                                                <ContentControl x:Name="SuccessStory_PluginUserStats" Margin="0,10,20,0" />
                                                <ContentControl x:Name="SuccessStory_PluginChart" Margin="0,10,20,0" />
                                            </StackPanel>
                                        </Expander>
                                        <!--#endregion -->

                                        <!--#region HowLongToBeat-->
                                        <Expander Grid.Row="{DynamicResource GridViewSectionOrderHowLongToBeat}"
                                                  IsExpanded="True"
                                                  Visibility="{PluginSettings Plugin=HowLongToBeat, Path=HasData, FallbackValue=Collapsed, Converter={StaticResource BooleanToVisibilityConverter}}"
                                                  Margin="0,0,5,0">
                                            <Expander.Header>
                                                <TextBlock Text="HowLongToBeat" Style="{DynamicResource BaseTextBlockStyle}"
                                                           Cursor="Hand"
                                                           FontWeight="Medium" FontSize="{DynamicResource FontSizeLarge}" />
                                            </Expander.Header>
                                            <StackPanel Margin="0,0,0,25">
                                                <Separator Background="{DynamicResource HighlightGlyphBrush}" Margin="0,5,0,5"/>
                                                <DockPanel>
                                                    <ContentControl DockPanel.Dock="Left" x:Name="HowLongToBeat_PluginButton" VerticalAlignment="Top"/>
                                                    <ContentControl x:Name="HowLongToBeat_PluginProgressBar" Margin="5,5,0,0" VerticalAlignment="Center"/>
                                                </DockPanel>

                                                <ContentControl ContentTemplate="{DynamicResource HltbDataGridTemplate}"
                                                                Margin="0,15,0,0"
                                                                Tag="{DynamicResource GridViewShowHltbDataGrid}">
                                                    <ContentControl.Style>
                                                        <Style>
                                                            <Setter Property="Control.Visibility" Value="Collapsed" />
                                                            <Style.Triggers>
                                                                <MultiDataTrigger>
                                                                    <MultiDataTrigger.Conditions>
                                                                        <Condition Binding="{PluginSettings Plugin=HowLongToBeat, Path=HasData, FallbackValue=False}" Value="True" />
                                                                        <Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=Tag, FallbackValue=False}" Value="True" />
                                                                    </MultiDataTrigger.Conditions>
                                                                    <Setter Property="Control.Visibility" Value="Visible" />
                                                                </MultiDataTrigger>
                                                            </Style.Triggers>
                                                        </Style>
                                                    </ContentControl.Style>
                                                </ContentControl>
                                            </StackPanel>
                                        </Expander>
                                        <!--#endregion -->
                                        
                                        <!--#region ScreenshotsVisualizer-->
                                        <Expander Grid.Row="{DynamicResource GridViewSectionOrderScreenshotsVisualizer}"
                                                  IsExpanded="True"
                                                  Visibility="{PluginSettings Plugin=ScreenshotsVisualizer, Path=HasData, FallbackValue=Collapsed, Converter={StaticResource BooleanToVisibilityConverter}}"
                                                  Margin="0,0,5,0">
                                            <Expander.Header>
                                                <TextBlock Text="{DynamicResource LOCSsvTitle}" Style="{DynamicResource BaseTextBlockStyle}"
                                                           Cursor="Hand"
                                                           FontWeight="Medium" FontSize="{DynamicResource FontSizeLarge}" />
                                            </Expander.Header>
                                            <StackPanel Margin="0,0,0,25">
                                                <Separator Background="{DynamicResource HighlightGlyphBrush}" Margin="0,5,0,5"/>
                                                <ContentControl x:Name="ScreenshotsVisualizer_PluginSinglePicture" Margin="0,10,20,0" />
                                                <ContentControl x:Name="ScreenshotsVisualizer_PluginListScreenshots" Margin="0,10,20,0" />
                                            </StackPanel>
                                        </Expander>
                                        <!--#endregion -->
                                        
                                        <!--#region GameActivity-->
                                        <Expander Grid.Row="{DynamicResource GridViewSectionOrderGameActivity}"
                                                  IsExpanded="True"
                                                  Visibility="{PluginSettings Plugin=GameActivity, Path=HasData, FallbackValue=Collapsed, Converter={StaticResource BooleanToVisibilityConverter}}"
                                                  Margin="0,0,5,0">
                                            <Expander.Header>
                                                <TextBlock Text="{DynamicResource LOCGameActivityTitle}" Style="{DynamicResource BaseTextBlockStyle}"
                                                           Cursor="Hand"
                                                           FontWeight="Medium" FontSize="{DynamicResource FontSizeLarge}" />
                                            </Expander.Header>
                                            <StackPanel Margin="0,0,0,25">
                                                <Separator Background="{DynamicResource HighlightGlyphBrush}" Margin="0,5,0,5"/>
                                                <ContentControl x:Name="GameActivity_PluginButton" />
                                                <ContentControl x:Name="GameActivity_PluginChartTime" Margin="0,5,0,0" />
                                            </StackPanel>
                                        </Expander>
                                        <!--#endregion -->
                                        
                                        <!--#region ReviewViewer-->
                                        <Expander Grid.Row="{DynamicResource GridViewSectionOrderReviewViewer}"
                                                  IsExpanded="True"
                                                  Visibility="{PluginSettings Plugin=ReviewViewer, Path=IsControlVisible, FallbackValue=Collapsed, Converter={StaticResource BooleanToVisibilityConverter}}"
                                                  Margin="0,0,5,0">
                                            <Expander.Header>
                                                <TextBlock Text="{DynamicResource LOCReview_Viewer_ReviewsLabel}" Style="{DynamicResource BaseTextBlockStyle}"
                                                           Cursor="Hand"
                                                           FontWeight="Medium" FontSize="{DynamicResource FontSizeLarge}" />
                                            </Expander.Header>
                                            <StackPanel Margin="0,0,0,25">
                                                <Separator Background="{DynamicResource HighlightGlyphBrush}" Margin="0,5,0,5"/>
                                                <ContentControl x:Name="ReviewViewer_ReviewsControl" Margin="0,5,10,5"/>
                                            </StackPanel>
                                        </Expander>
                                        <!--#endregion -->

                                        <!--#region NewsViewer-->
                                        <Expander Grid.Row="{DynamicResource GridViewSectionOrderNewsViewer}"
                                                  IsExpanded="True"
                                                  Visibility="{PluginSettings Plugin=NewsViewer, Path=ReviewsAvailable, FallbackValue=Collapsed, Converter={StaticResource BooleanToVisibilityConverter}}"
                                                  Margin="0,0,5,0">
                                            <Expander.Header>
                                                <TextBlock Text="{DynamicResource LOC_NewsViewer_NewsViewerControl_NewsLabel}" Style="{DynamicResource BaseTextBlockStyle}"
                                                           Cursor="Hand"
                                                           FontWeight="Medium" FontSize="{DynamicResource FontSizeLarge}" />
                                            </Expander.Header>
                                            <StackPanel Margin="0,0,0,25">
                                                <Separator Background="{DynamicResource HighlightGlyphBrush}" Margin="0,5,0,5"/>
                                                <ContentControl x:Name="NewsViewer_NewsViewerControl" Margin="0,0,10,0" />
                                            </StackPanel>
                                        </Expander>
                                        <!--#endregion -->

                                        <!--#region CheckDlc-->
                                        <Expander Grid.Row="{DynamicResource GridViewSectionOrderCheckDlc}"
                                                  IsExpanded="True"
                                                  Visibility="{PluginSettings Plugin=CheckDlc, Path=HasData, FallbackValue=Collapsed, Converter={StaticResource BooleanToVisibilityConverter}}"
                                                  Margin="0,0,5,0">
                                            <Expander.Header>
                                                <TextBlock Text="DLC" Style="{DynamicResource BaseTextBlockStyle}"
                                                           Cursor="Hand"
                                                           FontWeight="Medium" FontSize="{DynamicResource FontSizeLarge}" />
                                            </Expander.Header>
                                            <StackPanel Margin="0,0,0,25">
                                                <StackPanel.Resources>
                                                    <Style TargetType="ListBox">
                                                        <Setter Property="Background" Value="Transparent" />
                                                        <Setter Property="BorderThickness" Value="0" />
                                                    </Style>
                                                </StackPanel.Resources>
                                                <Separator Background="{DynamicResource HighlightGlyphBrush}" Margin="0,5,0,5"/>
                                                <ContentControl x:Name="CheckDlc_PluginButton" MinHeight="20" MinWidth="120"
                                                                HorizontalAlignment="Left" VerticalAlignment="Center" Margin="0,0,0,10"
                                                                Visibility="{PluginSettings Plugin=CheckDlc, Path=EnableIntegrationButton, FallbackValue=Collapsed, Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <ContentControl x:Name="CheckDlc_PluginListDlcAll" Height="700" Margin="0,0,0,10"/>
                                                <ContentControl x:Name="CheckDlc_PluginListDlcOwned" Height="700" Margin="0,0,0,10"/>
                                                <ContentControl x:Name="CheckDlc_PluginListDlcNotOwned" Height="700" Margin="0,0,0,10"/>
                                            </StackPanel>
                                        </Expander>

                                        <Expander Grid.Row="{DynamicResource GridViewSectionOrderGameRelations}"
                                                  IsExpanded="True"
                                                  Visibility="{Binding ElementName=GameRelationsVisibilityProxy, Path=Tag}"
                                                  Margin="0,0,5,0">
                                            <Expander.Header>
                                                <TextBlock Text="{DynamicResource LOCGameRelations_RelatedGamesLabel}"
                                                           Style="{DynamicResource BaseTextBlockStyle}"
                                                           Cursor="Hand"
                                                           FontWeight="Medium" FontSize="{DynamicResource FontSizeLarge}" />
                                            </Expander.Header>
                                            <StackPanel Margin="0,0,10,0">
                                                <TextBlock x:Name="GameRelationsVisibilityProxy" Visibility="Collapsed">
                                                    <TextBlock.Style>
                                                        <Style TargetType="TextBlock">
                                                            <Setter Property="Tag" Value="Collapsed" />
                                                            <Style.Triggers>
                                                                <DataTrigger Binding="{Binding ElementName=Panel_GameRelations_SimilarGamesControl, Path=Visibility}" Value="Visible">
                                                                    <Setter Property="Tag" Value="Visible" />
                                                                </DataTrigger>
                                                                <DataTrigger Binding="{Binding ElementName=Panel_GameRelations_SameSeriesControl, Path=Visibility}" Value="Visible">
                                                                    <Setter Property="Tag" Value="Visible" />
                                                                </DataTrigger>
                                                                <DataTrigger Binding="{Binding ElementName=Panel_GameRelations_SameDeveloperControl, Path=Visibility}" Value="Visible">
                                                                    <Setter Property="Tag" Value="Visible" />
                                                                </DataTrigger>
                                                                <DataTrigger Binding="{Binding ElementName=Panel_GameRelations_SamePublisherControl, Path=Visibility}" Value="Visible">
                                                                    <Setter Property="Tag" Value="Visible" />
                                                                </DataTrigger>
                                                            </Style.Triggers>
                                                        </Style>
                                                    </TextBlock.Style>
                                                </TextBlock>
                                                <Expander x:Name="Panel_GameRelations_SimilarGamesControl"
                                                              Header="{DynamicResource LOCGameRelations_SimilarGamesLabel}"
                                                              IsExpanded="True"
                                                              Margin="0,5,0,0"
                                                              Visibility="{PluginSettings Plugin=GameRelations, Path=SimilarGamesControlSettings.IsVisible, Converter={StaticResource BooleanToVisibilityConverter}, FallbackValue=Collapsed}">
                                                    <ContentControl x:Name="GameRelations_SimilarGamesControl" Margin="0,5,0,0" />
                                                </Expander>

                                                <Expander x:Name="Panel_GameRelations_SameSeriesControl"
                                                              Header="{DynamicResource LOCGameRelations_SameSeriesLabel}"
                                                              IsExpanded="True"
                                                              Margin="0,5,0,0"
                                                              Visibility="{PluginSettings Plugin=GameRelations, Path=SameSeriesControlSettings.IsVisible, Converter={StaticResource BooleanToVisibilityConverter}, FallbackValue=Collapsed}">
                                                    <ContentControl x:Name="GameRelations_SameSeriesControl" Margin="0,5,0,0" />
                                                </Expander>

                                                <Expander x:Name="Panel_GameRelations_SameDeveloperControl"
                                                              Header="{DynamicResource LOCGameRelations_SameDeveloperLabel}"
                                                              IsExpanded="True"
                                                              Margin="0,5,0,0"
                                                              Visibility="{PluginSettings Plugin=GameRelations, Path=SameDeveloperControlSettings.IsVisible, Converter={StaticResource BooleanToVisibilityConverter}, FallbackValue=Collapsed}">
                                                    <ContentControl x:Name="GameRelations_SameDeveloperControl" Margin="0,5,0,0" />
                                                </Expander>

                                                <Expander x:Name="Panel_GameRelations_SamePublisherControl"
                                                              Header="{DynamicResource LOCGameRelations_SamePublisherLabel}"
                                                              IsExpanded="True"
                                                              Margin="0,5,0,0"
                                                              Visibility="{PluginSettings Plugin=GameRelations, Path=SamePublisherControlSettings.IsVisible, Converter={StaticResource BooleanToVisibilityConverter}, FallbackValue=Collapsed}">
                                                    <ContentControl x:Name="GameRelations_SamePublisherControl" Margin="0,5,0,0" />
                                                </Expander>

                                            </StackPanel>
                                        </Expander>
                                        
                                        <!--#endregion -->

                                        <Expander Grid.Row="{DynamicResource GridViewSectionOrderSteamScreenshots}"
                                                  IsExpanded="True"
                                                  Visibility="{PluginSettings Plugin=SteamScreenshots, Path=IsControlVisible, FallbackValue=Collapsed, Converter={StaticResource BooleanToVisibilityConverter}}"
                                                  Margin="0,0,5,0">
                                            <Expander.Header>
                                                <TextBlock Text="{DynamicResource LOC_SteamScreenshots_SteamScreenshotsLabel}" Style="{DynamicResource BaseTextBlockStyle}"
                                                           Cursor="Hand"
                                                           FontWeight="Medium" FontSize="{DynamicResource FontSizeLarge}" />
                                            </Expander.Header>
                                            <StackPanel Margin="0,0,0,25">
                                                <Separator Background="{DynamicResource HighlightGlyphBrush}" Margin="0,5,0,5"/>
                                                <ContentControl x:Name="SteamScreenshots_SteamScreenshotsViewControl" Margin="0,10,20,0" />
                                            </StackPanel>
                                        </Expander>

                                        <Expander Grid.Row="{DynamicResource GridViewSectionOrderWeb}"
                                                  IsExpanded="True"
                                                  Visibility="{Binding ElementName=WebExplorer_BrowserHostViewControl, Path=Content.IsControlVisible, Converter={StaticResource BooleanToVisibilityConverter}, TargetNullValue=Collapsed, FallbackValue=Collapsed}"
                                                  Margin="0,0,5,0">
                                            <Expander.Header>
                                                <TextBlock Text="{DynamicResource LOCWebExplorer_WebLabel}" Style="{DynamicResource BaseTextBlockStyle}"
                                                           Cursor="Hand"
                                                           FontWeight="Medium" FontSize="{DynamicResource FontSizeLarge}" />
                                            </Expander.Header>
                                            <StackPanel Margin="0,0,0,25">
                                                <Separator Background="{DynamicResource HighlightGlyphBrush}" Margin="0,5,0,5"/>
                                                <ContentControl x:Name="WebExplorer_BrowserHostViewControl"
                                                                Height="{DynamicResource WebExplorerControlHeight}"
                                                                Margin="0,5,0,5" />
                                            </StackPanel>
                                        </Expander>
                                    </Grid>
                                </ScrollViewer>
                            </DockPanel>
                        </DockPanel>
                    </Border>                    
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
</ResourceDictionary>