| <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
| <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
| xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
| xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
| xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
| xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
. | 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 LibraryGridView}"> |
| <Style TargetType="{x:Type LibraryGridView}"> |
| <Setter Property="Template"> |
| <Setter Property="Template"> |
| <Setter.Value> |
| <Setter.Value> |
| <ControlTemplate TargetType="{x:Type LibraryGridView}"> |
| <ControlTemplate TargetType="{x:Type LibraryGridView}"> |
| <DockPanel Background="{TemplateBinding Background}" |
| <DockPanel Background="{TemplateBinding Background}" |
| d:DesignWidth="1280" d:DesignHeight="960" |
| d:DesignWidth="1280" d:DesignHeight="960" |
| d:DataContext="{x:Static DesignMainViewModel.DesignIntance}"> |
| d:DataContext="{x:Static DesignMainViewModel.DesignIntance}"> |
| <GridViewGameOverview x:Name="PART_ControlGameView" |
| <GridViewGameOverview x:Name="PART_ControlGameView" |
| Width="{Settings GrdiDetailsWitdh}" |
| Width="{Settings GrdiDetailsWitdh}" |
| DockPanel.Dock="{Settings GridViewDetailsPosition}" /> |
| DockPanel.Dock="{Settings GridViewDetailsPosition}" /> |
| <Grid DockPanel.Dock="Left"> |
| <Grid DockPanel.Dock="Left"> |
| <Grid.RowDefinitions> |
| <Grid.RowDefinitions> |
| <RowDefinition Height="*" /> |
| <RowDefinition Height="*" /> |
| <RowDefinition Height="Auto" /> |
| <RowDefinition Height="Auto" /> |
| </Grid.RowDefinitions> |
| </Grid.RowDefinitions> |
| <ExtendedListBox x:Name="PART_ListGames" Padding="5" |
| <ExtendedListBox x:Name="PART_ListGames" Padding="5" |
| ScrollViewer.HorizontalScrollBarVisibility="Disabled" |
| ScrollViewer.HorizontalScrollBarVisibility="Disabled" |
| ScrollViewer.PanningMode="VerticalOnly" |
| ScrollViewer.PanningMode="VerticalOnly" |
| ItemContainerStyle="{DynamicResource GridViewItemStyle}" |
| ItemContainerStyle="{DynamicResource GridViewItemStyle}" |
. | SelectionMode="Extended" |
| |
| DockPanel.Dock="Left" |
| DockPanel.Dock="Left" |
| BorderThickness="0"> |
| BorderThickness="0"> |
| <ExtendedListBox.ItemTemplate> |
| <ExtendedListBox.ItemTemplate> |
| <DataTemplate> |
| <DataTemplate> |
| <GameListItem Style="{StaticResource GridViewItemTemplate}" /> |
| <GameListItem Style="{StaticResource GridViewItemTemplate}" /> |
| </DataTemplate> |
| </DataTemplate> |
| </ExtendedListBox.ItemTemplate> |
| </ExtendedListBox.ItemTemplate> |
. | |
| <ExtendedListBox.GroupStyle> |
| |
| <GroupStyle ContainerStyle="{StaticResource GridViewGroupStyle}"/> |
| |
| </ExtendedListBox.GroupStyle> |
| </ExtendedListBox> |
| </ExtendedListBox> |
| <TextBlock FontSize="{StaticResource FontSizeLarge}" Margin="0,40,0,0" |
| <TextBlock FontSize="{StaticResource FontSizeLarge}" Margin="0,40,0,0" |
| Text="{DynamicResource LOCNoItemsFound}" TextWrapping="Wrap" |
| Text="{DynamicResource LOCNoItemsFound}" TextWrapping="Wrap" |
| TextAlignment="Center" HorizontalAlignment="Center"> |
| TextAlignment="Center" HorizontalAlignment="Center"> |
| <TextBlock.Style> |
| <TextBlock.Style> |
| <Style TargetType="TextBlock" BasedOn="{StaticResource BaseTextBlockStyle}"> |
| <Style TargetType="TextBlock" BasedOn="{StaticResource BaseTextBlockStyle}"> |
| <Setter Property="Visibility" Value="Collapsed" /> |
| <Setter Property="Visibility" Value="Collapsed" /> |
| <Style.Triggers> |
| <Style.Triggers> |
| <DataTrigger Binding="{Binding Items.Count, ElementName=PART_ListGames, Mode=OneWay}" Value="0"> |
| <DataTrigger Binding="{Binding Items.Count, ElementName=PART_ListGames, Mode=OneWay}" Value="0"> |
| <Setter Property="Visibility" Value="Visible" /> |
| <Setter Property="Visibility" Value="Visible" /> |
| </DataTrigger> |
| </DataTrigger> |
| </Style.Triggers> |
| </Style.Triggers> |
| </Style> |
| </Style> |
| </TextBlock.Style> |
| </TextBlock.Style> |
| </TextBlock> |
| </TextBlock> |
| <StackPanel Margin="5" Orientation="Horizontal" Grid.Row="1"> |
| <StackPanel Margin="5" Orientation="Horizontal" Grid.Row="1"> |
| <Label Content="{DynamicResource LOCZoomLabel}" Margin="10,0,10,0"/> |
| <Label Content="{DynamicResource LOCZoomLabel}" Margin="10,0,10,0"/> |
| <SliderWithPopup x:Name="PART_SliderZoom" /> |
| <SliderWithPopup x:Name="PART_SliderZoom" /> |
| </StackPanel> |
| </StackPanel> |
| </Grid> |
| </Grid> |
| </DockPanel> |
| </DockPanel> |
| </ControlTemplate> |
| </ControlTemplate> |
| </Setter.Value> |
| </Setter.Value> |
| </Setter> |
| </Setter> |
| </Style> |
| </Style> |
| </ResourceDictionary> |
| </ResourceDictionary> |