Advertisement
Guest User

Untitled

a guest
Dec 16th, 2019
714
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.81 KB | None | 0 0
  1. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008" mc:Ignorable="d">
  5.  
  6. <Style TargetType="{x:Type DetailsViewGameOverview}">
  7. <Setter Property="Template">
  8. <Setter.Value>
  9. <ControlTemplate TargetType="{x:Type DetailsViewGameOverview}">
  10. <ScrollViewer HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Hidden" Style="{DynamicResource DetailsScrollViewer}" d:DesignWidth="1280" d:DesignHeight="1280" d:DataContext="{x:Static DesignMainViewModel.DesignSelectedGameDetailsIntance}">
  11. <Grid Background="#2a2f39">
  12. <Grid.RowDefinitions>
  13. <RowDefinition Height="800"/>
  14. <RowDefinition Height="599*"/>
  15. <RowDefinition Height="661*"/>
  16. </Grid.RowDefinitions>
  17. <FadeImage x:Name="PART_ImageBackground" Stretch="UniformToFill" HorizontalAlignment="Stretch" VerticalAlignment="Top" MaxHeight="800">
  18. </FadeImage>
  19. <Grid HorizontalAlignment="Stretch" Margin="20,0,20,0" Grid.RowSpan="3" Height="Auto">
  20. <Grid.RowDefinitions>
  21. <RowDefinition Height="550"/>
  22. <RowDefinition Height="Auto"/>
  23. <RowDefinition Height="Auto"/>
  24. <RowDefinition Height="63*"/>
  25. <RowDefinition Height="61*"/>
  26. </Grid.RowDefinitions>
  27.  
  28. <DockPanel HorizontalAlignment="Stretch" Margin="15,260,15,0" MaxWidth="1920" Grid.Row="1" Grid.RowSpan="2">
  29. <Button x:Name="PART_ButtonMoreActions" VerticalAlignment="Bottom" Content="ⓘ" FontSize="23" Width="40" Height="40" Margin="0,0,0,0" DockPanel.Dock="Right" />
  30. <StackPanel VerticalAlignment="Bottom" DockPanel.Dock="Left">
  31. <DockPanel>
  32. <Canvas>
  33. <Image Canvas.Left="0" Canvas.Bottom="0" Name="PART_ImageCover" MaxHeight="300" DockPanel.Dock="Left" Margin="0,0,0,20" VerticalAlignment="Bottom" HorizontalAlignment="Left" RenderOptions.BitmapScalingMode="Fant" />
  34. </Canvas>
  35. </DockPanel>
  36. <Grid>
  37. <Grid.ColumnDefinitions>
  38. <ColumnDefinition Width="Auto"/>
  39. <ColumnDefinition Width="Auto"/>
  40. <ColumnDefinition Width="Auto"/>
  41. <ColumnDefinition Width="Auto"/>
  42. </Grid.ColumnDefinitions>
  43. <Button Grid.Column="0" Name="PART_ButtonPlayAction"
  44. HorizontalAlignment="Left" Style="{DynamicResource PlayButton}" Margin="0,15,0,0"/>
  45. <Button Grid.Column="0" Name="PART_ButtonContextAction"
  46. HorizontalAlignment="Left" Style="{DynamicResource ContextButton}" Margin="0,15,0,0"/>
  47. <StackPanel Grid.Column="1" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="30,15,0,0">
  48. <Label x:Name="PART_ElemLastPlayed" Content="{DynamicResource LOCLastPlayed}" Width="150" Height="20" FontWeight="DemiBold" Label.Foreground="LightGray"></Label>
  49. <TextBlock Grid.Row="1" x:Name="PART_TextLastActivity" VerticalAlignment="Center" TextBlock.Foreground="Gray" Width="150" Height="20"></TextBlock>
  50. </StackPanel>
  51. <StackPanel Grid.Column="2" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="20,15,0,0">
  52. <Label Grid.Row="1" Name="PART_ElemPlayTime" Content="{DynamicResource LOCTimePlayed}" Width="150" Height="20" FontWeight="DemiBold" Label.Foreground="LightGray"></Label>
  53. <TextBlock Grid.Row="1" Name="PART_TextPlayTime" VerticalAlignment="Center" TextBlock.Foreground="Gray" Width="150" Height="20"/>
  54. </StackPanel>
  55. <StackPanel Grid.Column="3" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="20,15,0,0">
  56. <Label Grid.Column="3" Name="PART_ElemCompletionStatus" Content="{DynamicResource LOCCompletionStatus}" Width="150" Height="20" FontWeight="DemiBold" Label.Foreground="LightGray"></Label>
  57. <TextBlock Grid.Row="1" Name="PART_TextCompletionStatus" VerticalAlignment="Center" TextBlock.Foreground="Gray" Width="150" Height="20"/>
  58. </StackPanel>
  59. </Grid>
  60. </StackPanel>
  61. </DockPanel>
  62.  
  63. <DockPanel HorizontalAlignment="Left" MaxWidth="1920" Grid.Row="3" Grid.RowSpan="2" Width="Auto">
  64. <StackPanel DockPanel.Dock="Left" HorizontalAlignment="Stretch" Margin="15,0,0,0">
  65. <Grid>
  66. <Grid.ColumnDefinitions>
  67. <ColumnDefinition Width="Auto"/>
  68. <ColumnDefinition Width="Auto"/>
  69. <ColumnDefinition Width="Auto"/>
  70. <ColumnDefinition Width="Auto"/>
  71. <ColumnDefinition Width="Auto"/>
  72. <ColumnDefinition Width="Auto"/>
  73. <ColumnDefinition Width="Auto"/>
  74. </Grid.ColumnDefinitions>
  75. <GridEx Height="Auto" ColumnCount="2" AutoLayoutColumns="2" RowCount="20" Grid.Column="1" Margin="15,30,10,0" VerticalAlignment="Top">
  76. <Label Padding="0" Name="PART_ElemLibrary" Content="{DynamicResource LOCGameProviderTitle}" Margin="0,0,30,10"/>
  77. <Button Padding="0" Background="Transparent" Name="PART_ButtonLibrary" HorizontalAlignment="Left" Margin="0,0,0,10"/>
  78. <Label Padding="0" Name="PART_ElemPlatform" Content="{DynamicResource LOCPlatformTitle}" Margin="0,0,30,10"/>
  79. <Button Padding="0" Background="Transparent" Name="PART_ButtonPlatform" HorizontalAlignment="Left" Margin="0,0,0,10"/>
  80. <Label Padding="0" Name="PART_ElemDevelopers" Content="{DynamicResource LOCDeveloperLabel}" Margin="0,0,30,10"/>
  81. <ItemsControl Padding="0" Name="PART_ItemsDevelopers" HorizontalAlignment="Left" Margin="0,0,0,10"/>
  82. <Label Padding="0" Name="PART_ElemPublishers" Content="{DynamicResource LOCPublisherLabel}" Margin="0,0,30,10"/>
  83. <ItemsControl Padding="0" Name="PART_ItemsPublishers" HorizontalAlignment="Left" Margin="0,0,0,10"/>
  84. <Label Padding="0" Name="PART_ElemAgeRating" Content="{DynamicResource LOCAgeRatingLabel}" Margin="0,0,30,10" />
  85. <Button Padding="0" Background="Transparent" Name="PART_ButtonAgeRating" HorizontalAlignment="Left" Margin="0,0,0,10"/>
  86. </GridEx>
  87. <GridEx MaxHeight="150" ColumnCount="20" AutoLayoutColumns="2" RowCount="20" Grid.Column="2" Margin="15,30,10,0" VerticalAlignment="Top">
  88. <Label Name="PART_ElemGenres" Content="{DynamicResource LOCGenreLabel}" VerticalAlignment="Top" Margin="0,0,30,0"/>
  89. <ItemsControl Name="PART_ItemsGenres" VerticalAlignment="Top"/>
  90. <Label Name="PART_ElemReleaseDate" Content="{DynamicResource LOCGameReleaseDateTitle}" Margin="0,7,30,0"/>
  91. <Button Padding="0" Background="Transparent" Name="PART_ButtonReleaseDate" Margin="0,7,0,0" VerticalAlignment="Top" HorizontalAlignment="Left"/>
  92. </GridEx>
  93. <GridEx MaxHeight="150" ColumnCount="2" AutoLayoutColumns="2" RowCount="20" Grid.Column="3" Margin="15,30,10,0" VerticalAlignment="Top">
  94. <Label Name="PART_ElemCommunityScore" Content="{DynamicResource LOCCommunityScore}" Margin="0,0,30,0" />
  95. <TextBlock Name="PART_TextCommunityScore" VerticalAlignment="Center" Style="{DynamicResource TextBlockGameScore}" Margin="0,0,0,0"/>
  96.  
  97. <Label Name="PART_ElemCriticScore" Content="{DynamicResource LOCCriticScore}" Margin="0,9,30,0"/>
  98. <TextBlock Name="PART_TextCriticScore" VerticalAlignment="Center" Style="{DynamicResource TextBlockGameScore}" Margin="0,7,0,0"/>
  99.  
  100. <Label Name="PART_ElemUserScore" Content="{DynamicResource LOCUserScore}" Margin="0,9,30,0"/>
  101. <TextBlock Name="PART_TextUserScore" VerticalAlignment="Center" Style="{DynamicResource TextBlockGameScore}" Margin="0,7,0,0"/>
  102. <Label Name="PART_ElemSeries" Content="{DynamicResource LOCSeriesLabel}" Margin="0,9,30,0"/>
  103. <Button Padding="0" Background="Transparent" Name="PART_ButtonSeries" VerticalAlignment="Center" Margin="0,7,0,0"/>
  104. <Label Name="PART_ElemVersion" Content="{DynamicResource LOCVersionLabel}" Margin="0,10,30,0"/>
  105. <Button Padding="0" Background="Transparent" Name="PART_ButtonVersion" HorizontalAlignment="Left" Margin="0,7,0,0"/>
  106. </GridEx>
  107. <GridEx ColumnCount="2" Grid.Column="4" AutoLayoutColumns="2" RowCount="20" Margin="15,30,10,0" VerticalAlignment="Top" MaxHeight="150">
  108. <Label Name="PART_ElemTags" Content="{DynamicResource LOCTagsLabel}" Margin="0,0,30,0" VerticalAlignment="Top"/>
  109. <ItemsControl Padding="0,0,0,0" Name="PART_ItemsTags" VerticalAlignment="Top" Margin="0,-4,0,0"/>
  110. </GridEx>
  111. <GridEx ColumnCount="2" AutoLayoutColumns="2" RowCount="20" Grid.Column="5" Margin="15,30,10,0" VerticalAlignment="Top" MaxHeight="150">
  112. <Label Name="PART_ElemCategories" Content="{DynamicResource LOCGameCategoriesTitle}" VerticalAlignment="Top" Margin="0,0,30,0"/>
  113. <ItemsControl Padding="0,0,0,0" Name="PART_ItemsCategories" VerticalAlignment="Top" Margin="0,-4,0,0"/>
  114. </GridEx>
  115. <GridEx ColumnCount="2" AutoLayoutColumns="2" RowCount="20" Grid.Column="6" Margin="15,30,10,0" VerticalAlignment="Top" MaxHeight="150">
  116. <Label Name="PART_ElemSource" Content="{DynamicResource LOCSourceLabel}" Margin="0,0,30,0"/>
  117. <Button Padding="0" Background="Transparent" Name="PART_ButtonSource" VerticalAlignment="Center" HorizontalAlignment="Left"/>
  118.  
  119. <Label Name="PART_ElemRegion" Content="{DynamicResource LOCRegionLabel}" Margin="0,7,30,0"/>
  120. <Button Padding="0" Background="Transparent" Name="PART_ButtonRegion" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="0,7,0,0"/>
  121.  
  122. <Label Name="PART_ElemLinks" Content="{DynamicResource LOCLinksLabel}" Margin="0,11,30,0" VerticalAlignment="Top" />
  123. <ItemsControl Name="PART_ItemsLinks" Margin="0,7,0,0" />
  124. </GridEx>
  125. </Grid>
  126. <Separator Background="{DynamicResource PanelSeparatorBrush}" />
  127. <GridEx Margin="0,5,0,10" ColumnCount="2" StarColumns="1" RowCount="20" AutoLayoutColumns="2">
  128. <Grid.Resources>
  129. <Style TargetType="TextBlock" BasedOn="{StaticResource BaseTextBlockStyle}" />
  130. </Grid.Resources>
  131. </GridEx>
  132. <StackPanel Name="PART_ElemDescription" Margin="10,0,2,0" Grid.RowSpan="2">
  133. <HtmlTextView x:Name="PART_HtmlDescription" Margin="0,5,0,5" HtmlFontSize="{DynamicResource FontSize}" HtmlFontFamily="{DynamicResource FontFamily}" HtmlForeground="#898989" LinkForeground="{DynamicResource GlyphColor}" ScrollViewer.HorizontalScrollBarVisibility="Hidden" ScrollViewer.VerticalScrollBarVisibility="Hidden" MaxHeight="270" Width="Auto"/>
  134. </StackPanel>
  135. </StackPanel>
  136. </DockPanel>
  137. </Grid>
  138. </Grid>
  139. </ScrollViewer>
  140. </ControlTemplate>
  141. </Setter.Value>
  142. </Setter>
  143. </Style>
  144. </ResourceDictionary>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement