| <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
| <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
| xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
| xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
| xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
| xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
| xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
| xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
| mc:Ignorable="d"> |
| mc:Ignorable="d"> |
| |
| |
| <Style TargetType="{x:Type GameDetails}"> |
| <Style TargetType="{x:Type GameDetails}"> |
| <Setter Property="Template"> |
| <Setter Property="Template"> |
| <Setter.Value> |
| <Setter.Value> |
| <ControlTemplate TargetType="{x:Type GameDetails}"> |
| <ControlTemplate TargetType="{x:Type GameDetails}"> |
| <Grid Background="{DynamicResource MainBackgourndBrush}" |
| <Grid Background="{DynamicResource MainBackgourndBrush}" |
| x:Name="PART_ViewHost" |
| x:Name="PART_ViewHost" |
| d:DesignWidth="{StaticResource DesignWidth}" |
| d:DesignWidth="{StaticResource DesignWidth}" |
| d:DesignHeight="{StaticResource DesignHeight}" |
| d:DesignHeight="{StaticResource DesignHeight}" |
| d:DataContext="{x:Static DesignMainViewModel.DesignSelectedGameIntance}" |
| d:DataContext="{x:Static DesignMainViewModel.DesignSelectedGameIntance}" |
| KeyboardNavigation.DirectionalNavigation="Contained" |
| KeyboardNavigation.DirectionalNavigation="Contained" |
| KeyboardNavigation.TabNavigation="Contained"> |
| KeyboardNavigation.TabNavigation="Contained"> |
| <Grid.ColumnDefinitions> |
| <Grid.ColumnDefinitions> |
| <ColumnDefinition Width="*" /> |
| <ColumnDefinition Width="*" /> |
| <ColumnDefinition Width="350" /> |
| <ColumnDefinition Width="350" /> |
| <ColumnDefinition Width="6*" /> |
| <ColumnDefinition Width="6*" /> |
| <ColumnDefinition Width="*" /> |
| <ColumnDefinition Width="*" /> |
| </Grid.ColumnDefinitions> |
| </Grid.ColumnDefinitions> |
| <Grid.RowDefinitions> |
| <Grid.RowDefinitions> |
| <RowDefinition Height="3*" /> |
| <RowDefinition Height="3*" /> |
| <RowDefinition Height="4*" /> |
| <RowDefinition Height="4*" /> |
| </Grid.RowDefinitions> |
| </Grid.RowDefinitions> |
| |
| |
| <FadeImage HorizontalAlignment="Center" VerticalAlignment="Top" |
| <FadeImage HorizontalAlignment="Center" VerticalAlignment="Top" |
| Grid.ColumnSpan="4" Grid.RowSpan="2" |
| Grid.ColumnSpan="4" Grid.RowSpan="2" |
| x:Name="PART_ImageBackground" /> |
| x:Name="PART_ImageBackground" /> |
| |
| |
| <Border Background="{DynamicResource GameDetailsBackgroundBrush}" |
| <Border Background="{DynamicResource GameDetailsBackgroundBrush}" |
| Grid.ColumnSpan="4" Grid.Row="1"> |
| Grid.ColumnSpan="4" Grid.Row="1"> |
| <Border.Style> |
| <Border.Style> |
| <Style TargetType="Border"> |
| <Style TargetType="Border"> |
| <Style.Triggers> |
| <Style.Triggers> |
| <DataTrigger Binding="{Binding DisplayBackgroundImage}" Value="{x:Null}"> |
| <DataTrigger Binding="{Binding DisplayBackgroundImage}" Value="{x:Null}"> |
| <Setter Property="Visibility" Value="Collapsed" /> |
| <Setter Property="Visibility" Value="Collapsed" /> |
| </DataTrigger> |
| </DataTrigger> |
| </Style.Triggers> |
| </Style.Triggers> |
| </Style> |
| </Style> |
| </Border.Style> |
| </Border.Style> |
| </Border> |
| </Border> |
| |
| |
| <Border CornerRadius="3" BorderThickness="3" BorderBrush="{DynamicResource ControlBackgroundBrush}" |
| <Border CornerRadius="3" BorderThickness="3" BorderBrush="{DynamicResource ControlBackgroundBrush}" |
| Margin="14" Grid.Column="1" Grid.Row="1" |
| Margin="14" Grid.Column="1" Grid.Row="1" |
| VerticalAlignment="Top" |
| VerticalAlignment="Top" |
| HorizontalAlignment="Right"> |
| HorizontalAlignment="Right"> |
| <Image x:Name="PART_ImageCover" /> |
| <Image x:Name="PART_ImageCover" /> |
| </Border> |
| </Border> |
| |
| |
| <Image Grid.Column="1" Grid.Row="1" |
| <Image Grid.Column="1" Grid.Row="1" |
| VerticalAlignment="Top" |
| VerticalAlignment="Top" |
| HorizontalAlignment="Right" |
| HorizontalAlignment="Right" |
| Margin="24" |
| Margin="24" |
| Source="{Binding LibraryPlugin.LibraryIcon}" |
| Source="{Binding LibraryPlugin.LibraryIcon}" |
| Height="48" RenderOptions.BitmapScalingMode="Fant"> |
| Height="48" RenderOptions.BitmapScalingMode="Fant"> |
| <Image.Effect> |
| <Image.Effect> |
| <DropShadowEffect Color="White" BlurRadius="20" ShadowDepth="0" |
| <DropShadowEffect Color="White" BlurRadius="20" ShadowDepth="0" |
| RenderingBias="Quality" Opacity="1"/> |
| RenderingBias="Quality" Opacity="1"/> |
| </Image.Effect> |
| </Image.Effect> |
| </Image> |
| </Image> |
| |
| |
| <DockPanel Grid.Column="2" Grid.Row="1" |
| <DockPanel Grid.Column="2" Grid.Row="1" |
| Margin="20" |
| Margin="20" |
| HorizontalAlignment="Left"> |
| HorizontalAlignment="Left"> |
| |
| |
| <TextBlock Style="{DynamicResource TextBlockBaseStyle}" |
| <TextBlock Style="{DynamicResource TextBlockBaseStyle}" |
| Text="{Binding DisplayName}" |
| Text="{Binding DisplayName}" |
| Foreground="White" FontFamily="{DynamicResource FontTitilliumWebBold}" |
| Foreground="White" FontFamily="{DynamicResource FontTitilliumWebBold}" |
| FontSize="38" DockPanel.Dock="Top"> |
| FontSize="38" DockPanel.Dock="Top"> |
| <TextBlock.Effect> |
| <TextBlock.Effect> |
| <DropShadowEffect ShadowDepth="2" Color="Black" |
| <DropShadowEffect ShadowDepth="2" Color="Black" |
| RenderingBias="Quality" Opacity="1"/> |
| RenderingBias="Quality" Opacity="1"/> |
| </TextBlock.Effect> |
| </TextBlock.Effect> |
| </TextBlock> |
| </TextBlock> |
| |
| |
| <StackPanel Orientation="Horizontal" DockPanel.Dock="Top" Margin="0,20,20,20"> |
| <StackPanel Orientation="Horizontal" DockPanel.Dock="Top" Margin="0,20,20,20"> |
| <StackPanel> |
| <StackPanel> |
| <TextBlock Style="{DynamicResource TextBlockBaseStyle}" |
| <TextBlock Style="{DynamicResource TextBlockBaseStyle}" |
| FontFamily="{DynamicResource FontTitilliumWebBold}" |
| FontFamily="{DynamicResource FontTitilliumWebBold}" |
| Text="{DynamicResource LOCTimePlayed}" |
| Text="{DynamicResource LOCTimePlayed}" |
| Margin="0,0,0,10" /> |
| Margin="0,0,0,10" /> |
| <TextBlock Style="{DynamicResource TextBlockBaseStyle}" |
| <TextBlock Style="{DynamicResource TextBlockBaseStyle}" |
. | Text="{Binding Playtime, Converter={StaticResource LongToTimePlayedConverter}}" /> |
| Text="{Binding Playtime, Converter={StaticResource PlayTimeToStringConverter}}" /> |
| </StackPanel> |
| </StackPanel> |
| |
| |
| <StackPanel Margin="50,0,0,0"> |
| <StackPanel Margin="50,0,0,0"> |
| <TextBlock Style="{DynamicResource TextBlockBaseStyle}" |
| <TextBlock Style="{DynamicResource TextBlockBaseStyle}" |
| FontFamily="{DynamicResource FontTitilliumWebBold}" |
| FontFamily="{DynamicResource FontTitilliumWebBold}" |
| Text="{DynamicResource LOCGameLastActivityTitle}" |
| Text="{DynamicResource LOCGameLastActivityTitle}" |
| Margin="0,0,0,10" /> |
| Margin="0,0,0,10" /> |
| <TextBlock Style="{DynamicResource TextBlockBaseStyle}" |
| <TextBlock Style="{DynamicResource TextBlockBaseStyle}" |
| Text="{Binding LastActivity, Converter={StaticResource DateTimeToLastPlayedConverter}}" /> |
| Text="{Binding LastActivity, Converter={StaticResource DateTimeToLastPlayedConverter}}" /> |
| </StackPanel> |
| </StackPanel> |
| |
| |
| <StackPanel Margin="50,0,0,0"> |
| <StackPanel Margin="50,0,0,0"> |
| <TextBlock Style="{DynamicResource TextBlockBaseStyle}" |
| <TextBlock Style="{DynamicResource TextBlockBaseStyle}" |
| FontFamily="{DynamicResource FontTitilliumWebBold}" |
| FontFamily="{DynamicResource FontTitilliumWebBold}" |
| Text="{DynamicResource LOCGameReleaseDateTitle}" |
| Text="{DynamicResource LOCGameReleaseDateTitle}" |
| Margin="0,0,0,10" /> |
| Margin="0,0,0,10" /> |
| <TextBlock Style="{DynamicResource TextBlockBaseStyle}" |
| <TextBlock Style="{DynamicResource TextBlockBaseStyle}" |
. | Text="{Binding ReleaseDate, Converter={StaticResource NullableDateToStringConverter}}" /> |
| Text="{Binding ReleaseDate}" /> |
| </StackPanel> |
| </StackPanel> |
| |
| |
| <StackPanel Margin="50,0,0,0"> |
| <StackPanel Margin="50,0,0,0"> |
| <TextBlock Style="{DynamicResource TextBlockBaseStyle}" |
| <TextBlock Style="{DynamicResource TextBlockBaseStyle}" |
| FontFamily="{DynamicResource FontTitilliumWebBold}" |
| FontFamily="{DynamicResource FontTitilliumWebBold}" |
| Text="{DynamicResource LOCGamePlatformTitle}" |
| Text="{DynamicResource LOCGamePlatformTitle}" |
| Margin="0,0,0,10" /> |
| Margin="0,0,0,10" /> |
| <TextBlock Style="{DynamicResource TextBlockBaseStyle}" |
| <TextBlock Style="{DynamicResource TextBlockBaseStyle}" |
. | Text="{Binding Platform}" /> |
| Text="{Binding Platforms, Converter={StaticResource ListToStringConverter}}" /> |
| </StackPanel> |
| </StackPanel> |
| </StackPanel> |
| </StackPanel> |
| |
| |
| <StackPanel Orientation="Horizontal" DockPanel.Dock="Top"> |
| <StackPanel Orientation="Horizontal" DockPanel.Dock="Top"> |
| <ButtonEx x:Name="PART_ButtonContext" |
| <ButtonEx x:Name="PART_ButtonContext" |
| Margin="2" BorderThickness="2" MinWidth="220" HorizontalContentAlignment="Center" /> |
| Margin="2" BorderThickness="2" MinWidth="220" HorizontalContentAlignment="Center" /> |
| <ButtonEx x:Name="PART_ButtonOptions" |
| <ButtonEx x:Name="PART_ButtonOptions" |
| Content="{DynamicResource LOCGameOptions}" |
| Content="{DynamicResource LOCGameOptions}" |
| Margin="5,2,2,2" BorderThickness="2" MinWidth="220" HorizontalContentAlignment="Center" /> |
| Margin="5,2,2,2" BorderThickness="2" MinWidth="220" HorizontalContentAlignment="Center" /> |
| </StackPanel> |
| </StackPanel> |
. | |
| |
| <Border Margin="-3,20,-3,-3" DockPanel.Dock="Top"> |
| <ScrollViewerEx Margin="0,20,0,0" DockPanel.Dock="Top"> |
| <Border.Style> |
| <HtmlTextView x:Name="PART_HtmlDescription" |
| <Style TargetType="Border"> |
| HtmlFontSize="16" |
| <Setter Property="BorderBrush" Value="Transparent" /> |
| HtmlForeground="{DynamicResource TextColor}" |
| <Setter Property="BorderThickness" Value="3" /> |
| LinkForeground="{DynamicResource GlyphColor}" |
| <Style.Triggers> |
| FocusVisualStyle="{x:Null}" /> |
| <Trigger Property="IsKeyboardFocusWithin" Value="True"> |
| </ScrollViewerEx> |
| <Setter Property="BorderBrush" Value="{DynamicResource SelectionBrush}" /> |
| |
| </Trigger> |
| |
| </Style.Triggers> |
| |
| </Style> |
| |
| </Border.Style> |
| |
| <ScrollViewerEx> |
| |
| <HtmlTextView x:Name="PART_HtmlDescription" |
| |
| HtmlFontSize="16" |
| |
| HtmlForeground="{DynamicResource TextColor}" |
| |
| LinkForeground="{DynamicResource GlyphColor}" |
| |
| FocusVisualStyle="{x:Null}" /> |
| |
| </ScrollViewerEx> |
| |
| </Border> |
| |
| </DockPanel> |
| </DockPanel> |
| </Grid> |
| </Grid> |
| </ControlTemplate> |
| </ControlTemplate> |
| </Setter.Value> |
| </Setter.Value> |
| </Setter> |
| </Setter> |
| </Style> |
| </Style> |
| </ResourceDictionary> |
| </ResourceDictionary> |