| <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 LibraryDetailsView}"> |
| <Style TargetType="{x:Type LibraryDetailsView}"> |
| <Setter Property="Template"> |
| <Setter Property="Template"> |
| <Setter.Value> |
| <Setter.Value> |
| <ControlTemplate TargetType="{x:Type LibraryDetailsView}"> |
| <ControlTemplate TargetType="{x:Type LibraryDetailsView}"> |
| <DockPanel d:DesignWidth="1280" d:DesignHeight="960" |
| <DockPanel d:DesignWidth="1280" d:DesignHeight="960" |
| d:DataContext="{x:Static DesignMainViewModel.DesignIntance}"> |
| d:DataContext="{x:Static DesignMainViewModel.DesignIntance}"> |
| <Grid DockPanel.Dock="{Settings DetailsListPosition}" |
| <Grid DockPanel.Dock="{Settings DetailsListPosition}" |
| Width="{Settings DetailsListWitdh}"> |
| Width="{Settings DetailsListWitdh}"> |
| <ExtendedListBox x:Name="PART_ListGames" |
| <ExtendedListBox x:Name="PART_ListGames" |
. | SelectionMode="Extended" |
| |
| BorderBrush="{DynamicResource PanelSeparatorBrush}" |
| BorderBrush="{DynamicResource PanelSeparatorBrush}" |
| ItemContainerStyle="{DynamicResource DetailsViewItemStyle}" |
| ItemContainerStyle="{DynamicResource DetailsViewItemStyle}" |
| ScrollViewer.HorizontalScrollBarVisibility="Disabled" |
| ScrollViewer.HorizontalScrollBarVisibility="Disabled" |
. | ScrollViewer.PanningMode="VerticalOnly" |
| ScrollViewer.PanningMode="VerticalOnly"> |
| VirtualizingPanel.CacheLengthUnit="Item" |
| |
| VirtualizingPanel.CacheLength="5" |
| |
| VirtualizingPanel.IsVirtualizingWhenGrouping="True" |
| |
| VirtualizingPanel.VirtualizationMode="Recycling"> |
| |
| <ExtendedListBox.Style> |
| <ExtendedListBox.Style> |
| <Style TargetType="ExtendedListBox" BasedOn="{StaticResource {x:Type ExtendedListBox}}"> |
| <Style TargetType="ExtendedListBox" BasedOn="{StaticResource {x:Type ExtendedListBox}}"> |
| <Setter Property="BorderThickness" Value="0,0,1,0" /> |
| <Setter Property="BorderThickness" Value="0,0,1,0" /> |
| <Style.Triggers> |
| <Style.Triggers> |
| <DataTrigger Binding="{Settings DetailsListPosition}" Value="Right"> |
| <DataTrigger Binding="{Settings DetailsListPosition}" Value="Right"> |
| <Setter Property="BorderThickness" Value="1,0,0,0" /> |
| <Setter Property="BorderThickness" Value="1,0,0,0" /> |
| </DataTrigger> |
| </DataTrigger> |
| <DataTrigger Binding="{Settings ShowPanelSeparators}" Value="False"> |
| <DataTrigger Binding="{Settings ShowPanelSeparators}" Value="False"> |
| <Setter Property="BorderThickness" Value="0" /> |
| <Setter Property="BorderThickness" Value="0" /> |
| </DataTrigger> |
| </DataTrigger> |
| </Style.Triggers> |
| </Style.Triggers> |
| </Style> |
| </Style> |
| </ExtendedListBox.Style> |
| </ExtendedListBox.Style> |
| <ExtendedListBox.GroupStyle> |
| <ExtendedListBox.GroupStyle> |
| <GroupStyle ContainerStyle="{StaticResource DetailsViewGroupStyle}"/> |
| <GroupStyle ContainerStyle="{StaticResource DetailsViewGroupStyle}"/> |
| </ExtendedListBox.GroupStyle> |
| </ExtendedListBox.GroupStyle> |
| <ExtendedListBox.ItemTemplate> |
| <ExtendedListBox.ItemTemplate> |
| <DataTemplate> |
| <DataTemplate> |
| <GameListItem Style="{StaticResource DetailsViewItemTemplate}" /> |
| <GameListItem Style="{StaticResource DetailsViewItemTemplate}" /> |
| </DataTemplate> |
| </DataTemplate> |
| </ExtendedListBox.ItemTemplate> |
| </ExtendedListBox.ItemTemplate> |
| </ExtendedListBox> |
| </ExtendedListBox> |
| <TextBlock FontSize="{StaticResource FontSizeLarge}" Margin="0,15,0,0" |
| <TextBlock FontSize="{StaticResource FontSizeLarge}" Margin="0,15,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> |
| </Grid> |
| </Grid> |
| <DetailsViewGameOverview x:Name="PART_ControlGameView" DockPanel.Dock="Left" /> |
| <DetailsViewGameOverview x:Name="PART_ControlGameView" DockPanel.Dock="Left" /> |
| </DockPanel> |
| </DockPanel> |
| </ControlTemplate> |
| </ControlTemplate> |
| </Setter.Value> |
| </Setter.Value> |
| </Setter> |
| </Setter> |
| </Style> |
| </Style> |
| </ResourceDictionary> |
| </ResourceDictionary> |