output.xaml 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430
  1. <!-- <StackPanel xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="clr-namespace:PCL2" > -->
  2. <StackPanel Margin="0,-10,0,0" xmlns:sys ="clr-namespace:System;assembly=mscorlib">
  3. <!--Animations Starts-->
  4. <StackPanel.Triggers>
  5. </StackPanel.Triggers>
  6. <StackPanel.Resources>
  7. <!--Styles Starts-->
  8. <Style TargetType="FlowDocumentScrollViewer" >
  9. <Setter Property="IsSelectionEnabled" Value="False"/>
  10. <Setter Property="VerticalScrollBarVisibility" Value="Hidden"/>
  11. <Setter Property="Margin" Value="0"/>
  12. </Style><Style TargetType="FlowDocument" >
  13. <Setter Property="FontFamily" Value="Microsoft YaHei UI"/>
  14. <Setter Property="FontSize" Value="14"/>
  15. <Setter Property="TextAlignment" Value="Left"/>
  16. </Style><Style TargetType="StackPanel" x:Key="ContentStack" >
  17. <Setter Property="Margin" Value="20,40,20,20"/>
  18. </Style><Style TargetType="local:MyCard" x:Key="Card" >
  19. <Setter Property="Margin" Value="0,5"/>
  20. </Style><Style TargetType="TextBox" x:Key="InlineCode">
  21. <Setter Property="FontSize" Value="14" />
  22. <Setter Property="IsReadOnly" Value="True" />
  23. <Setter Property="Margin" Value="2,0,2,-4" />
  24. <Setter Property="FontFamily" Value="Consolas"/>
  25. <Setter Property="Height" Value="18"/>
  26. <Setter Property="Template">
  27. <Setter.Value>
  28. <ControlTemplate TargetType="TextBox">
  29. <Border Background="{DynamicResource ColorBrush6}" Opacity="0.9"
  30. BorderBrush="{DynamicResource ColorBrush4}" BorderThickness="0"
  31. CornerRadius="5" Padding="4,0.2">
  32. <ScrollViewer x:Name="PART_ContentHost" Focusable="false"
  33. HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Hidden" />
  34. </Border>
  35. <ControlTemplate.Triggers>
  36. </ControlTemplate.Triggers>
  37. </ControlTemplate>
  38. </Setter.Value>
  39. </Setter>
  40. </Style><Style TargetType="TextBlock" >
  41. <Setter Property="TextWrapping" Value="Wrap"/>
  42. <Setter Property="HorizontalAlignment" Value="Left"/>
  43. <Setter Property="FontSize" Value="14"/>
  44. <Setter Property="Foreground" Value="Black"/>
  45. </Style><Style TargetType="List" >
  46. <Setter Property="Foreground" Value="{DynamicResource ColorBrush3}"/>
  47. <Setter Property="Margin" Value="20,0,0,0"/>
  48. <Setter Property="MarkerStyle" Value="1"/>
  49. <Setter Property="Padding" Value="0"/>
  50. </Style><Style TargetType="ListItem" >
  51. <Setter Property="Foreground" Value="Black"/>
  52. <Setter Property="LineHeight" Value="22"/>
  53. </Style><Style TargetType="Paragraph" x:Key="H2" >
  54. <Setter Property="FontSize" Value="22"/>
  55. <Setter Property="Margin" Value="0,10,0,5"/>
  56. <Setter Property="FontWeight" Value="Bold"/>
  57. <Setter Property="Foreground" Value="{DynamicResource ColorBrush3}"/>
  58. </Style><Style TargetType="Paragraph" x:Key="H3" >
  59. <Setter Property="FontSize" Value="18"/>
  60. <Setter Property="Margin" Value="0,5,0,5"/>
  61. <Setter Property="FontWeight" Value="Bold"/>
  62. <Setter Property="Foreground" Value="{DynamicResource ColorBrush4}"/>
  63. </Style><Style TargetType="Paragraph" x:Key="H4" >
  64. <Setter Property="FontSize" Value="16"/>
  65. <Setter Property="Margin" Value="0,3,0,5"/>
  66. <Setter Property="FontWeight" Value="Bold"/>
  67. <Setter Property="Foreground" Value="{DynamicResource ColorBrush4}"/>
  68. </Style><Style TargetType="Border" x:Key="Quote" >
  69. <Setter Property="BorderThickness" Value="5,0,0,0"/>
  70. <Setter Property="BorderBrush" Value="{DynamicResource ColorBrush4}"/>
  71. <Setter Property="Padding" Value="10,5"/>
  72. <Setter Property="Margin" Value="0,5"/>
  73. </Style><sys:String x:Key="DownloadIcon">
  74. M802 664v146c0 7.7-6.3 14-14 14H236c-7.7
  75. 0-14-6.3-14-14V664c0-5.5-4.5-10-10-10h-50c-5.5
  76. 0-10 4.5-10 10v170c0 33.1 26.9 60 60 60h600c33.1
  77. 0 60-26.9 60-60V664c0-5.5-4.5-10-10-10h-50c-5.5
  78. 0-10 4.5-10 10z M547 163v449.5l173.6-173.6c13.7-13.7
  79. 35.8-13.7 49.5 0 13.7 13.7 13.7 35.8 0 49.5L536.8
  80. 721.7c-0.4 0.4-0.8 0.8-1.3 1.2-0.2 0.2-0.4 0.4-0.6
  81. 0.5-0.2 0.2-0.4 0.4-0.7 0.6-0.3 0.2-0.5 0.4-0.8 0.6-0.2
  82. 0.1-0.4 0.3-0.5 0.4l-0.9 0.6c-0.2 0.1-0.3 0.2-0.5 0.3-0.3
  83. 0.2-0.6 0.4-1 0.6-0.2 0.1-0.3 0.2-0.5 0.3-0.3 0.2-0.6
  84. 0.4-1 0.5-0.2 0.1-0.4 0.2-0.5 0.3-0.3 0.2-0.6 0.3-0.9
  85. 0.5l-0.6 0.3c-0.3 0.1-0.6 0.3-0.8 0.4-0.2 0.1-0.5 0.2-0.7
  86. 0.3-0.3 0.1-0.5 0.2-0.8 0.3l-0.9 0.3c-0.2 0.1-0.4 0.2-0.7
  87. 0.2-0.3 0.1-0.6 0.2-1 0.3-0.2 0.1-0.4 0.1-0.6 0.2-0.4 0.1-0.7
  88. 0.2-1.1 0.3-0.2 0-0.4 0.1-0.6 0.1-0.4 0.1-0.7 0.2-1.1 0.2-0.2
  89. 0-0.4 0.1-0.6 0.1-0.4 0.1-0.7 0.1-1.1 0.2-0.2 0-0.4 0.1-0.7
  90. 0.1-0.3 0-0.7 0.1-1 0.1-0.3 0-0.6 0-0.9 0.1-0.3 0-0.5 0-0.8
  91. 0.1-1.2 0.1-2.3 0.1-3.5 0-0.3 0-0.5 0-0.8-0.1-0.3 0-0.6
  92. 0-0.9-0.1-0.3 0-0.7-0.1-1-0.1-0.2 0-0.4-0.1-0.7-0.1-0.4-0.1-0.7-0.1-1.1-0.2-0.2
  93. 0-0.4-0.1-0.6-0.1-0.4-0.1-0.7-0.2-1.1-0.2-0.2
  94. 0-0.4-0.1-0.6-0.1-0.4-0.1-0.7-0.2-1.1-0.3-0.2-0.1-0.4-0.1-0.6-0.2-0.3-0.1-0.6-0.2-1-0.3-0.2-0.1-0.5-0.1-0.7-0.2l-0.9-0.3c-0.3-0.1-0.5-0.2-0.8-0.3-0.2-0.1-0.5-0.2-0.7-0.3-0.3-0.1-0.6-0.3-0.8-0.4l-0.6-0.3c-0.3-0.2-0.6-0.3-0.9-0.5-0.2-0.1-0.4-0.2-0.5-0.3-0.3-0.2-0.6-0.4-1-0.6-0.2-0.1-0.3-0.2-0.5-0.3-0.3-0.2-0.6-0.4-1-0.6-0.2-0.1-0.3-0.2-0.5-0.3-0.3-0.2-0.6-0.4-0.9-0.7-0.2-0.1-0.3-0.3-0.5-0.4-0.3-0.2-0.5-0.4-0.8-0.6-0.2-0.2-0.4-0.4-0.7-0.6-0.2-0.2-0.4-0.4-0.6-0.5l-1.2-1.2-233.1-233.1c-13.7-13.7-13.7-35.8 0-49.5 13.7-13.7
  95. 35.8-13.7 49.5 0L477 612.5V163c0-19.3 15.7-35 35-35s35 15.7 35 35z</sys:String>
  96. <sys:String x:Key="LaunchIcon">
  97. M512 97C282.8 97 97 282.8 97 512s185.8 415 415 415 415-185.8
  98. 415-415S741.2 97 512 97z m-1 759c-190.5 0-345-154.5-345-345s154.5-345
  99. 345-345 345 154.5 345 345-154.5 345-345 345z M442.1 408.2L621.9 512
  100. 442.1 615.8V408.2m-59.9-113.9c-5.2 0-10 4.2-10 10v415.4c0 5.8 4.8 10
  101. 10 10 1.7 0 3.4-0.4 5-1.4l359.7-207.7c6.7-3.8 6.7-13.5 0-17.3L387.1
  102. 295.7c-1.6-1-3.3-1.4-4.9-1.4z</sys:String>
  103. <sys:String x:Key="CloudIcon">
  104. M480 224c43 0 84.7 11.6 120.6 33.5 34.6 21.1 62.5 50.9 80.6 86 10.4
  105. 20.1 30.6 33.3 53.2 34.6C796 381.6 853 407 895.2 449.7c41.7 42.1 64.6
  106. 97.2 64.6 155 0 30.8-5.9 60.6-17.7 88.7-11.3 27.1-27.5 51.4-48.2 72.3-42.3
  107. 42.8-98.4 66.3-158 66.3h-478c-53.3-3.1-102.6-24-139-58.8-35.3-33.6-54.7-77.2-54.7-122.5
  108. 0-38.5 13.7-75.3 39.7-106.4 12.9-15.5 28.5-29.1 46.3-40.3 18.3-11.6
  109. 38.4-20.4 59.9-26.3 26.1-7.1 44.9-29.9 47-56.9 4-52.9 28.6-102.1
  110. 69.4-138.7C368.1 244.6 422.6 224 480 224m0-64c-139.2 0-255.2 94.9-281.9
  111. 220.8-4.4 20.8-18.5 38.3-38.2 46.3C65.8 465.6 0.2 551.2 0.2 650.7 0.2 781.3
  112. 113.4 888.6 256.1 896H736c158.9 0 287.9-130.5 287.9-291.3
  113. 0-145.4-111.1-265.5-256.2-287.4-18.1-2.7-34.1-13-44.2-28.2C672.5
  114. 211.6 582.7 160 480 160z</sys:String><Style x:Key="ListItem" TargetType="TextBlock">
  115. <Setter Property="Margin" Value="10,-13.5,5,15" />
  116. <Setter Property="TextWrapping" Value="Wrap" />
  117. <Setter Property="HorizontalAlignment" Value="Left" />
  118. <Setter Property="FontSize" Value="14" />
  119. <Setter Property="Foreground" Value="Black" />
  120. </Style>
  121. <Style x:Key="ListItemLink" TargetType="local:MyTextButton">
  122. <Setter Property="Margin" Value="15,-15,5,15" />
  123. <Setter Property="TextElement.FontSize" Value="20" />
  124. </Style>
  125. <Style x:Key="ListStyle" TargetType="StackPanel">
  126. <Setter Property="Margin" Value="22,0,14,5" />
  127. </Style>
  128. <Style TargetType="TextBox">
  129. <Setter Property="Background" Value="{x:Null}" />
  130. <Setter Property="Padding" Value="3,0,3,0" />
  131. <Setter Property="IsReadOnly" Value="True" />
  132. <Setter Property="BorderBrush" Value="{x:Null}" />
  133. </Style>
  134. <Style x:Key="imgTitle" TargetType="TextBlock">
  135. <Setter Property="FontSize" Value="14" />
  136. <Setter Property="Foreground" Value="#FF777777" />
  137. <Setter Property="HorizontalAlignment" Value="Center" />
  138. <Setter Property="Margin" Value="0,0,0,15" />
  139. </Style>
  140. <!--footnote-->
  141. <Style x:Key="footnote" TargetType="TextBlock">
  142. <Setter Property="FontSize" Value="14" />
  143. <Setter Property="Padding" Value="30,0" />
  144. <Setter Property="Margin" Value="0,20,0,15" />
  145. <Setter Property="Foreground" Value="#FF777777" />
  146. <Setter Property="TextWrapping" Value="Wrap" />
  147. </Style>
  148. <!--ButtonNameBorder-->
  149. <!--ImageButtonStyle-->
  150. <Style x:Key="ImgBtnImg" TargetType="Image">
  151. <Setter Property="MaxWidth" Value="70px" />
  152. <Setter Property="MaxHeight" Value="70px" />
  153. <Setter Property="Margin" Value="3" />
  154. </Style>
  155. <Style x:Key="ImgBtnBdr" TargetType="Border">
  156. <Setter Property="Background" Value="{DynamicResource ColorBrush7}" />
  157. <Setter Property="BorderBrush" Value="{DynamicResource ColorBrush3}" />
  158. <Setter Property="BorderThickness" Value="2px" />
  159. <Setter Property="CornerRadius" Value="5" />
  160. <Setter Property="Margin" Value="2px" />
  161. </Style>
  162. <Style x:Key="NameBdr" TargetType="Border">
  163. <Setter Property="Background" Value="{DynamicResource ColorBrush3}" />
  164. <Setter Property="BorderThickness" Value="0" />
  165. <Setter Property="CornerRadius" Value="5,5,0,0" />
  166. <Setter Property="Margin" Value="-2,-2,-2,2" />
  167. </Style>
  168. <Style x:Key="ImgBtnTxt" TargetType="TextBlock">
  169. <Setter Property="HorizontalAlignment" Value="Center" />
  170. <Setter Property="VerticalAlignment" Value="Center" />
  171. <Setter Property="Grid.Row" Value="0" />
  172. <Setter Property="Foreground" Value="{DynamicResource ColorBrush7}" />
  173. <Setter Property="FontSize" Value="12px" />
  174. <Setter Property="Margin" Value="8px,2px" />
  175. </Style>
  176. <ControlTemplate x:Key="Separator" TargetType="ContentControl">
  177. <Grid Margin="0,10">
  178. <Grid.ColumnDefinitions>
  179. <ColumnDefinition Width="1*" />
  180. <ColumnDefinition Width="100" />
  181. <ColumnDefinition Width="1*" />
  182. </Grid.ColumnDefinitions>
  183. <Line X1="0" X2="100" Stroke="{DynamicResource ColorBrush4}" StrokeThickness="1.5" HorizontalAlignment="Center" Stretch="Fill" Grid.Column="0" />
  184. <TextBlock Text="{TemplateBinding Content}" HorizontalAlignment="Center" FontSize="15" Foreground="{DynamicResource ColorBrush4}" Grid.Column="1" VerticalAlignment="Center" />
  185. <Line X1="0" X2="100" Stroke="{DynamicResource ColorBrush4}" StrokeThickness="1.5" HorizontalAlignment="Center" Stretch="Fill" Grid.Column="2" />
  186. </Grid>
  187. </ControlTemplate><Style TargetType="local:MyIconTextButton" x:Key="DownloadVersionButton" >
  188. <Setter Property="Text" Value="下载"/>
  189. <Setter Property="ToolTip" Value="转到下载页面"/>
  190. <Setter Property="EventType" Value="切换页面"/>
  191. <Setter Property="EventData" Value="1|1"/>
  192. </Style><Style TargetType="local:MyIconTextButton" x:Key="ServerJarDownloadButton" >
  193. <Setter Property="Text" Value="服务端"/>
  194. <Setter Property="ToolTip" Value="下载服务端"/>
  195. <Setter Property="EventType" Value="下载文件"/>
  196. </Style><Style TargetType="local:MyButton" x:Key="LinkButtonBase" >
  197. <Setter Property="Margin" Value="0,0,5,5"/>
  198. <Setter Property="Height" Value="35"/>
  199. <Setter Property="Padding" Value="13,0"/>
  200. <Setter Property="EventType" Value="打开网页"/>
  201. </Style><Style TargetType="local:MyButton" x:Key="WikiLinkButton" BasedOn="{StaticResource LinkButtonBase}">
  202. <Setter Property="Grid.Column" Value="0"/>
  203. <Setter Property="Text" Value="Minecraft Wiki"/>
  204. </Style><Style TargetType="local:MyButton" x:Key="OfficalLinkButton" BasedOn="{StaticResource LinkButtonBase}">
  205. <Setter Property="Grid.Column" Value="2"/>
  206. <Setter Property="Text" Value="官网"/>
  207. </Style><Style TargetType="Border" x:Key="VersionImageBorder" >
  208. <Setter Property="HorizontalAlignment" Value="Center"/>
  209. <Setter Property="BorderThickness" Value="4"/>
  210. <Setter Property="VerticalAlignment" Value="Top"/>
  211. <Setter Property="BorderBrush" Value="{DynamicResource ColorBrush3}"/>
  212. <Setter Property="CornerRadius" Value="7"/>
  213. <Setter Property="MaxHeight" Value="150"/>
  214. </Style><Style TargetType="Border" x:Key="VersionTitleBorder" >
  215. <Setter Property="Margin" Value="0,-20,-1,10"/>
  216. <Setter Property="Background" Value="{DynamicResource ColorBrush3}"/>
  217. <Setter Property="Width" Value="190"/>
  218. <Setter Property="Height" Value="36"/>
  219. <Setter Property="CornerRadius" Value="7"/>
  220. <Setter Property="BorderThickness" Value="0,0,0,2"/>
  221. <Setter Property="BorderBrush" Value="{DynamicResource ColorBrush2}"/>
  222. </Style><Style TargetType="TextBlock" x:Key="VersionTitleBlock" >
  223. <Setter Property="HorizontalAlignment" Value="Center"/>
  224. <Setter Property="TextAlignment" Value="Center"/>
  225. <Setter Property="VerticalAlignment" Value="Center"/>
  226. <Setter Property="Foreground" Value="{DynamicResource ColorBrush7}"/>
  227. <Setter Property="Width" Value="180"/>
  228. <Setter Property="TextWrapping" Value="Wrap"/>
  229. <Setter Property="FontSize" Value="20"/>
  230. </Style>
  231. </StackPanel.Resources>
  232. <Border Margin="0,0,0,5" Padding="2,8" BorderThickness="1" Background="{DynamicResource ColorBrush5}" CornerRadius="5" VerticalAlignment="Top" BorderBrush="{DynamicResource ColorBrush3}" Opacity="0.7">
  233. <Grid Margin="10,0,0,0">
  234. <TextBlock x:Name="NewsHint" FontWeight="Bold" FontSize="12" VerticalAlignment="Center" Foreground="#FF000000">
  235. 📰 新闻主页由 Light Beacon (最亮的信标)制作与维护。
  236. </TextBlock>
  237. <TextBlock x:Name="Hint2" FontWeight="Bold" FontSize="12" VerticalAlignment="Center" Foreground="#00000000">
  238. 📰 MCBBS 寄了,新闻主页将永久停用 MCBBS 链接
  239. </TextBlock>
  240. </Grid>
  241. </Border><local:MyCard Title="1.21 棘巧试炼更新定档" CanSwap="True" IsSwaped="True" Style="{StaticResource Card}" >
  242. <StackPanel Margin="0,40,0,0">
  243. <StackPanel HorizontalAlignment="Center">
  244. <Line Margin="-1,0" X1="0" X2="1" Stroke="{DynamicResource ColorBrush3}" StrokeThickness="3" HorizontalAlignment="Center" Stretch="Fill"/>
  245. <Image Stretch="UniformToFill" Source="https://image.stapxs.cn/i/2024/05/31/tricky_trials_is_coming.png"/>
  246. <Line Margin="-1,0" X1="0" X2="1" Stroke="{DynamicResource ColorBrush3}" StrokeThickness="3" HorizontalAlignment="Center" Stretch="Fill"/>
  247. </StackPanel>
  248. <StackPanel Margin="20,10,20,30">
  249. <FlowDocumentScrollViewer >
  250. <FlowDocument>
  251. <Paragraph> 棘巧试炼试炼定档六月十三日,详见<Underline><local:MyTextButton Margin="0,0,0,-2" EventType="打开网页" EventData="https://www.bilibili.com/video/BV1yx4y1n7du">视频</local:MyTextButton></Underline>。</Paragraph>
  252. </FlowDocument>
  253. </FlowDocumentScrollViewer>
  254. </StackPanel>
  255. </StackPanel>
  256. </local:MyCard><local:MyCard Title="最新预发布版 - 1.21-pre4" CanSwap="True" IsSwaped="false" Style="{StaticResource Card}" >
  257. <StackPanel Style="{StaticResource ContentStack}">
  258. <Border Style="{StaticResource VersionImageBorder}">
  259. <Border.Background>
  260. <ImageBrush ImageSource="https://image.stapxs.cn/i/2024/06/07/image.png" Stretch="UniformToFill" />
  261. </Border.Background>
  262. <Image Source="https://image.stapxs.cn/i/2024/06/07/image.png" Opacity="0" Stretch="Fill"/>
  263. </Border>
  264. <Border Style="{StaticResource VersionTitleBorder}">
  265. <TextBlock Style="{StaticResource VersionTitleBlock}" Text="1.21-pre4" />
  266. </Border><FlowDocumentScrollViewer >
  267. <FlowDocument>
  268. <Paragraph Style="{StaticResource H2}">更改</Paragraph><List>
  269. <ListItem><Paragraph>现在穿着多件装备可以叠加火焰保护的“燃烧时间”减免效果和爆炸保护的“击退抗性”效果</Paragraph><List>
  270. <ListItem><Paragraph>为了获取这些效果的最大收益,你需要穿着整套附魔护甲</Paragraph></ListItem>
  271. <ListItem><Paragraph>穿着全套附魔的护甲仍和 1.20.6 里给予同样的效果</Paragraph></ListItem>
  272. <ListItem><Paragraph>穿着单件附魔护甲的效果相比之前有所削弱</Paragraph></ListItem>
  273. </List></ListItem>
  274. <ListItem><Paragraph>当一个点燃的 TNT 穿过下界传送门后,其将不会再摧毁下界传送门方块</Paragraph></ListItem>
  275. </List>
  276. </FlowDocument>
  277. </FlowDocumentScrollViewer><GroupBox Header="阅读完整日志" BorderBrush="{DynamicResource ColorBrush3}" Margin="0,10,0,0">
  278. <Grid UseLayoutRounding="True" Margin="10,10,10,10">
  279. <Grid.ColumnDefinitions>
  280. <ColumnDefinition Width="20*"/>
  281. <ColumnDefinition Width="12*"/>
  282. </Grid.ColumnDefinitions>
  283. <local:MyButton Style="{StaticResource WikiLinkButton}" EventData="https://zh.minecraft.wiki/w/Java版1.21-pre4" ColorType="Highlight" />
  284. <local:MyButton Style="{StaticResource OfficalLinkButton}" EventData="https://minecraft.net/article/minecraft-1-21-pre-release-4"/>
  285. </Grid>
  286. </GroupBox><Grid Margin="0,10,6,0">
  287. <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Center">
  288. <Path Margin="8,0" Width="18" Height="18" Fill="{DynamicResource ColorBrush5}"
  289. Stretch="Uniform"
  290. Data="M640 416h256c35.36 0 64 28.48 64 64v416c0 35.36-28.48 64-64 64H480c-35.36 0-64-28.48-64-64V640h128c53.312 0 96-42.976 96-96V416zM64 128c0-35.36 28.48-64 64-64h416c35.36 0 64 28.48 64 64v416c0 35.36-28.48 64-64 64H128c-35.36 0-64-28.48-64-64V128z m128 276.256h46.72v-24.768h67.392V497.76h49.504V379.488h68.768v20.64h50.88V243.36H355.616v-34.368c0-10.08 1.376-18.784 4.16-26.112a10.56 10.56 0 0 0 1.344-4.16c0-0.896-3.2-1.792-9.6-2.72h-46.816v67.36H192v160.896z m46.72-122.368h67.392v60.48h-67.36V281.92z m185.664 60.48h-68.768V281.92h68.768v60.48z m203.84 488l19.264-53.632h100.384l19.264 53.632h54.976L732.736 576h-64.64L576 830.4h52.256z m33.024-96.256l37.12-108.608h1.376l34.368 108.608h-72.864zM896 320h-64a128 128 0 0 0-128-128v-64a192 192 0 0 1 192 192zM128 704h64a128 128 0 0 0 128 128v64a192 192 0 0 1-192-192z"/>
  291. <TextBlock Text="By 最亮的信标" FontSize="14" VerticalAlignment="Center" Foreground="{DynamicResource ColorBrush5}"/>
  292. </StackPanel>
  293. <StackPanel Orientation="Horizontal" VerticalAlignment="Center">
  294. <local:MyIconTextButton Text="启动" ToolTip="启动 1.21-pre4" EventType="启动游戏"
  295. EventData="1.21-pre4" LogoScale="0.85" Logo="{StaticResource LaunchIcon}" />
  296. <local:MyIconTextButton Style="{StaticResource DownloadVersionButton}"
  297. LogoScale="0.85" Logo="{StaticResource DownloadIcon}"/>
  298. <local:MyIconTextButton Style="{StaticResource ServerJarDownloadButton}"
  299. LogoScale="1.05" EventData="https://piston-data.mojang.com/v1/objects/14b1a86d9fcfc82c013e82910e8209617c3a721e/server.jar" Logo="{StaticResource CloudIcon}" />
  300. </StackPanel>
  301. </Grid>
  302. </StackPanel>
  303. </local:MyCard><local:MyCard Title="15 周年庆活动总结" CanSwap="True" IsSwaped="false" Style="{StaticResource Card}" >
  304. <StackPanel Style="{StaticResource ContentStack}">
  305. <FlowDocumentScrollViewer >
  306. <FlowDocument>
  307. <Paragraph Style="{StaticResource H2}">15 周年纪念披风</Paragraph><Paragraph> 点击该<Underline><local:MyTextButton Margin="0,0,0,-2" EventType="打开网页" EventData="https://www.minecraft.net/zh-hans/login?view=msa&amp;return_url=/15th-anniversary?mcRef=redeemCape">链接</local:MyTextButton></Underline>登录后点击兑换按钮即可兑换,兑换后的披风会同时加入你的 Java 版和基岩版角色创建器中</Paragraph><Paragraph Style="{StaticResource H2}">直播平台披风</Paragraph><Paragraph Style="{StaticResource H3}">Twitch 披风</Paragraph><Paragraph> 现在玩家可以通过在 <Underline><local:MyTextButton Margin="0,0,0,-2" EventType="打开网页" EventData="https://www.twitch.tv">Twitch</local:MyTextButton></Underline> 上登录(或注册)并观看任意 MC 直播 15 分钟后会收到 Twitch 紫色心形披风兑换码</Paragraph><Paragraph Style="{StaticResource H3}">TikTok 披风</Paragraph><Paragraph> 在 TikTok (仅限移动端)上观看某些 MC 直播左上角可能会有任务(如观看 3 分钟、评论等),完成该任务会获得兑换码</Paragraph><Paragraph Style="{StaticResource H3}">兑换</Paragraph><Paragraph> 兑换码可以在 MC 官网<Underline><local:MyTextButton Margin="0,0,0,-2" EventType="打开网页" EventData="https://www.minecraft.net/en-us/redeem">兑换</local:MyTextButton></Underline> ,兑换后会加入你的账户</Paragraph><Paragraph> 目前该披风仅可以在基岩版使用,在未来拥有基岩版 Twitch 披风的用户在 Java 版也会被授予该披风</Paragraph><Paragraph> *上述服务在可能在某些地区不可用</Paragraph><Paragraph Style="{StaticResource H2}">MC 官网开始 15 周年促销活动</Paragraph><Paragraph> MC 国际版 15 周年庆,罕见的打折(上一次还是十周年)Java版 + Win10 基岩版 半价 RMB 44.50</Paragraph><Paragraph> <Underline><local:MyTextButton Margin="0,0,0,-2" EventType="打开网页" EventData="https://www.minecraft.net/zh-hans/store/minecraft-java-bedrock-edition-pc">详情链接</local:MyTextButton></Underline></Paragraph><Paragraph> 移动端(App Store、Google Play Store) 同时打折</Paragraph><Paragraph> 其它 MC 衍生游戏(MCD、MCLG)也有折扣</Paragraph>
  308. </FlowDocument>
  309. </FlowDocumentScrollViewer>
  310. </StackPanel>
  311. </local:MyCard><ContentControl Content="历 史 版 本" Template="{StaticResource Separator}"/><local:MyCard Title="最新正式版 - 1.20.6" CanSwap="True" IsSwaped="True" Style="{StaticResource Card}" >
  312. <StackPanel Style="{StaticResource ContentStack}">
  313. <Border Style="{StaticResource VersionImageBorder}">
  314. <Border.Background>
  315. <ImageBrush ImageSource="https://image.stapxs.cn/i/2024/04/30/image.png" Stretch="UniformToFill" />
  316. </Border.Background>
  317. <Image Source="https://image.stapxs.cn/i/2024/04/30/image.png" Opacity="0" Stretch="Fill"/>
  318. </Border>
  319. <Border Style="{StaticResource VersionTitleBorder}">
  320. <TextBlock Style="{StaticResource VersionTitleBlock}" Text="1.20.6" />
  321. </Border><FlowDocumentScrollViewer >
  322. <FlowDocument>
  323. <Paragraph Style="{StaticResource H2}">修复的漏洞</Paragraph><List>
  324. <ListItem><Paragraph>行商羊驼被转移的物品栏其中部分在升级中丢失</Paragraph></ListItem>
  325. </List>
  326. </FlowDocument>
  327. </FlowDocumentScrollViewer><GroupBox Header="阅读完整日志" BorderBrush="{DynamicResource ColorBrush3}" Margin="0,10,0,0">
  328. <Grid UseLayoutRounding="True" Margin="10,10,10,10">
  329. <Grid.ColumnDefinitions>
  330. <ColumnDefinition Width="20*"/>
  331. <ColumnDefinition Width="12*"/>
  332. </Grid.ColumnDefinitions>
  333. <local:MyButton Style="{StaticResource WikiLinkButton}" EventData="https://zh.minecraft.wiki/w/Java版1.20.6" ColorType="Highlight" />
  334. <local:MyButton Style="{StaticResource OfficalLinkButton}" EventData="https://minecraft.net/article/minecraft-java-edition-1-20-6"/>
  335. </Grid>
  336. </GroupBox><Grid Margin="0,10,6,0">
  337. <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Center">
  338. <Path Margin="8,0" Width="18" Height="18" Fill="{DynamicResource ColorBrush5}"
  339. Stretch="Uniform"
  340. Data="M640 416h256c35.36 0 64 28.48 64 64v416c0 35.36-28.48 64-64 64H480c-35.36 0-64-28.48-64-64V640h128c53.312 0 96-42.976 96-96V416zM64 128c0-35.36 28.48-64 64-64h416c35.36 0 64 28.48 64 64v416c0 35.36-28.48 64-64 64H128c-35.36 0-64-28.48-64-64V128z m128 276.256h46.72v-24.768h67.392V497.76h49.504V379.488h68.768v20.64h50.88V243.36H355.616v-34.368c0-10.08 1.376-18.784 4.16-26.112a10.56 10.56 0 0 0 1.344-4.16c0-0.896-3.2-1.792-9.6-2.72h-46.816v67.36H192v160.896z m46.72-122.368h67.392v60.48h-67.36V281.92z m185.664 60.48h-68.768V281.92h68.768v60.48z m203.84 488l19.264-53.632h100.384l19.264 53.632h54.976L732.736 576h-64.64L576 830.4h52.256z m33.024-96.256l37.12-108.608h1.376l34.368 108.608h-72.864zM896 320h-64a128 128 0 0 0-128-128v-64a192 192 0 0 1 192 192zM128 704h64a128 128 0 0 0 128 128v64a192 192 0 0 1-192-192z"/>
  341. <TextBlock Text="By wuyuncheng-26" FontSize="14" VerticalAlignment="Center" Foreground="{DynamicResource ColorBrush5}"/>
  342. </StackPanel>
  343. <StackPanel Orientation="Horizontal" VerticalAlignment="Center">
  344. <local:MyIconTextButton Text="启动" ToolTip="启动 1.20.6" EventType="启动游戏"
  345. EventData="1.20.6" LogoScale="0.85" Logo="{StaticResource LaunchIcon}" />
  346. <local:MyIconTextButton Style="{StaticResource DownloadVersionButton}"
  347. LogoScale="0.85" Logo="{StaticResource DownloadIcon}"/>
  348. <local:MyIconTextButton Style="{StaticResource ServerJarDownloadButton}"
  349. LogoScale="1.05" EventData="https://piston-data.mojang.com/v1/objects/145ff0858209bcfc164859ba735d4199aafa1eea/server.jar" Logo="{StaticResource CloudIcon}" />
  350. </StackPanel>
  351. </Grid>
  352. </StackPanel>
  353. </local:MyCard><local:MyCard Title="更多页面..." Margin="0,5">
  354. <StackPanel Margin="25,40,23,15">
  355. <Grid>
  356. <Grid.ColumnDefinitions>
  357. <ColumnDefinition Width="1*"/>
  358. <ColumnDefinition Width="100"/>
  359. </Grid.ColumnDefinitions>
  360. <local:MyComboBox x:Name="jumpbox" Height="30" SelectedIndex="0" IsEditable="True" >
  361. <local:MyComboBoxItem Content="1.21存档"/>
  362. <local:MyComboBoxItem Content="1.20存档"/>
  363. <local:MyComboBoxItem Content="1.19存档"/>
  364. <local:MyComboBoxItem Content="1.18存档"/>
  365. <local:MyComboBoxItem Content="1.17存档"/>
  366. </local:MyComboBox>
  367. <local:MyButton HorizontalAlignment="Center" Width="80"
  368. Grid.Column="1" Text="打开→" EventType="打开帮助"
  369. EventData="{Binding Path=Text,ElementName=jumpbox,StringFormat=https://news.bugjump.net/{0}.json}"/>
  370. </Grid>
  371. </StackPanel>
  372. </local:MyCard><ContentControl Content="周 边 新 闻" Template="{StaticResource Separator}"/><local:MyCard Title="📢 关于反馈新闻主页相关问题的提示" CanSwap="True" IsSwaped="True" Style="{StaticResource Card}" >
  373. <StackPanel Style="{StaticResource ContentStack}">
  374. <FlowDocumentScrollViewer >
  375. <FlowDocument>
  376. <Paragraph> 很抱歉由于工作疏漏可能会导致新闻主页出现一些问题。
  377. 但有人往 PCL2 反馈提交新闻主页 Bug ...... 你交错地了!</Paragraph><Paragraph> 如果是 <Bold>由于加载新闻主页出现的问题</Bold>,请在 <Underline><local:MyTextButton Margin="0,0,0,-2" EventType="打开网页" EventData="https://github.com/Light-Beacon/PCL2-NewsHomepage">我的 GitHub 仓库</local:MyTextButton></Underline> 交 Issue <Bold>而不是</Bold>在 PCL2 反馈交反馈(PCL2 不背锅)。
  378. 你可以点击新闻主页最下方反馈按钮提交反馈</Paragraph>
  379. </FlowDocument>
  380. </FlowDocumentScrollViewer>
  381. </StackPanel>
  382. </local:MyCard><local:MyCard Margin="0,10,0,20">
  383. <StackPanel>
  384. <Grid Margin="26,20,20,2">
  385. <StackPanel>
  386. <StackPanel Orientation="Horizontal" VerticalAlignment="Center" Margin="0,0,0,4">
  387. <TextBlock FontSize="18" Foreground="{DynamicResource ColorBrush2}"><Bold>PCL2 新闻主页</Bold></TextBlock>
  388. <local:MyIconTextButton ColorType="Highlight" Margin="4,0" Text="e155cb0" ToolTip="当前 Commit 版本" EventType="打开网页"
  389. EventData="https://github.com/Light-Beacon/PCL2-NewsHomepage/tree/e155cb09a1d63fd063c59cf88bcb2067271b8044"
  390. LogoScale="1.1" Logo="M11.93 8.5a4.002 4.002 0 0 1-7.86 0H.75a.75.75 0 0 1 0-1.5h3.32a4.002 4.002 0 0 1 7.86 0h3.32a.75.75 0 0 1 0 1.5Zm-1.43-.75a2.5 2.5 0 1 0-5 0 2.5 2.5 0 0 0 5 0Z" />
  391. </StackPanel>
  392. <StackPanel Orientation="Horizontal" VerticalAlignment="Center" Margin="-4,0,0,10" Height="56">
  393. <Image Margin="2" Source="https://image.stapxs.cn/i/2024/05/24/LB.png"/>
  394. <Image Margin="2" Source="https://image.stapxs.cn/i/2024/05/24/PHB_2.png
  395. " />
  396. </StackPanel>
  397. <StackPanel Orientation="Horizontal" VerticalAlignment="Center" Margin="-8,0,0,10">
  398. <local:MyIconTextButton HorizontalAlignment="Left" Text="GitHub" ToolTip="前往新闻主页 GitHub 页面" EventType="打开网页"
  399. EventData="https://github.com/Light-Beacon/PCL2-NewsHomepage"
  400. LogoScale="1" Logo="M512 42.666667A464.64 464.64 0 0 0 42.666667 502.186667 460.373333 460.373333 0 0 0 363.52 938.666667c23.466667 4.266667 32-9.813333 32-22.186667v-78.08c-130.56 27.733333-158.293333-61.44-158.293333-61.44a122.026667 122.026667 0 0 0-52.053334-67.413333c-42.666667-28.16 3.413333-27.733333 3.413334-27.733334a98.56 98.56 0 0 1 71.68 47.36 101.12 101.12 0 0 0 136.533333 37.973334 99.413333 99.413333 0 0 1 29.866667-61.44c-104.106667-11.52-213.333333-50.773333-213.333334-226.986667a177.066667 177.066667 0 0 1 47.36-124.16 161.28 161.28 0 0 1 4.693334-121.173333s39.68-12.373333 128 46.933333a455.68 455.68 0 0 1 234.666666 0c89.6-59.306667 128-46.933333 128-46.933333a161.28 161.28 0 0 1 4.693334 121.173333A177.066667 177.066667 0 0 1 810.666667 477.866667c0 176.64-110.08 215.466667-213.333334 226.986666a106.666667 106.666667 0 0 1 32 85.333334v125.866666c0 14.933333 8.533333 26.88 32 22.186667A460.8 460.8 0 0 0 981.333333 502.186667 464.64 464.64 0 0 0 512 42.666667"/>
  401. <local:MyIconTextButton HorizontalAlignment="Left" Text="支持主页" ToolTip="前往爱发电赞助新闻主页" EventType="打开网页"
  402. EventData="https://afdian.net/a/Nattiden"
  403. LogoScale="1.2" Logo="M495.899049 634.906371c-17.304811 0-31.251971 13.947161-31.251971 31.251971S478.594238 697.410314 495.899049 697.410314c17.304811 0 31.251971-13.947161 31.251971-31.251972 0-17.304811-13.947161-31.251971-31.251971-31.251971zM790.855671 728.662285c-17.304811 0-31.251971 13.947161-31.251972 31.251971s13.947161 31.251971 31.251972 31.251972 31.251971-13.947161 31.251971-31.251972c0-17.04653-13.947161-30.993691-31.251971-31.251971z M1262.99289 719.622459c-13.430599-8.264984-28.927445-13.430599-44.68257-14.980284 34.867902-84.974368 57.080047-196.293374-18.596215-306.837537-115.193217-168.657333-280.75118-256.73107-491.766556-260.863562-60.179416-1.291404-130.948343 1.549685-205.849762 4.649054-87.040614 3.35765-203.008673 8.006703-281.526023 1.549684 15.755126-8.523265 32.543375-16.788249 47.007098-23.761829 55.530362-27.119479 98.921529-48.04022 84.457807-85.232649-7.748423-21.695583-30.218848-33.059937-67.411277-34.09306C206.624604-1.755689 37.967271 43.443443 7.748423 119.636265c-17.04653 42.874605-19.887618 125.524447 152.902206 198.876182 71.027208 30.218848 271.969635 66.894715 349.453861 74.643138 17.563091 1.549685 34.867902 5.165615 51.397871 11.364353-17.821372 11.622634-35.901025 24.02011-54.238959 36.417586-31.768533-18.079653-83.941245-39.516955-122.683358-13.172318-14.463722 9.298107-23.503549 25.053233-24.02011 42.358044-0.516562 21.179022 12.397476 42.099763 26.861198 58.629731-57.080047 45.715694-103.312302 89.881703-119.84227 123.974762-18.337934 41.841482-25.828075 110.544163 8.523265 177.438879 43.391167 84.974368 138.955046 144.120661 284.625391 176.147474 190.352916 41.583202 354.619476 4.132492 463.355674-53.205835 60.437697-32.026814 103.570583-69.994085 124.233043-103.828864 6.457019 2.066246 12.914038 4.132492 19.629338 6.198738 9.298107 2.841088 18.596214 5.682177 27.37776 8.781546 28.669164 10.072949 60.695977 8.523265 85.232649-3.61593l1.291403-0.774843c17.821372-9.039826 31.510252-25.053233 37.708991-44.166009 15.238565-51.139589-29.444006-79.033911-56.563486-96.08044z m-811.776412-239.684541l-17.30481 12.655757c-5.165615-5.165615-9.814669-11.106072-13.430599-17.563091 6.7153-2.066246 18.337934 0.258281 30.735409 4.907334zM1262.99289 798.139808c-1.291404 3.874211-4.132492 6.97358-9.298107 9.814669-10.33123 5.165615-25.569795 5.423896-39.258675 0.774842-9.298107-3.35765-19.371057-6.457019-29.444006-9.556388-18.596214-5.682177-49.848186-15.238565-55.788643-22.470426-9.814669-12.914038-28.152602-15.755126-41.32492-5.940457s-15.755126 28.152602-5.940458 41.324921c3.615931 4.390773 7.490142 8.264984 12.139196 11.622634-44.940851 62.245662-242.267348 186.220424-521.468844 125.007885-125.782728-27.636041-210.498815-77.742507-244.850155-145.412065-24.794952-48.815063-19.112776-98.921529-7.231861-126.299289 34.09306-71.027208 280.75118-234.518925 438.30244-327.241716 13.947161-8.264984 18.596214-26.344637 10.33123-40.291798s-27.119479-19.629337-40.291797-10.33123c-12.655757 7.490142-55.788643 33.059937-111.060725 68.186119-18.596214-12.655757-50.881309-27.894322-102.537459-33.059936-81.874999-8.264984-270.936512-44.42429-332.149051-70.252366C139.471608 245.418993 40.033517 196.34565 61.987381 141.073568c5.165615-12.914038 29.185725-33.576498 81.100157-53.464116 35.384463-13.430599 72.318611-22.470426 109.769321-27.119479l-11.622634 5.682176c-35.384463 17.304811-73.868296 36.417586-99.954652 59.146293-1.807965-1.033123-3.615931-2.324527-5.165615-3.874211-10.847792-11.622634-29.185725-12.397476-41.06664-1.291404l-0.516562 0.516561c-11.880915 11.106072-12.139195 29.702287-1.033123 41.583202 10.589511 11.106072 26.086356 19.371057 45.715694 25.569795 0.774842 0.258281 1.291404 0.516562 2.066246 0.774842 68.702681 21.179022 190.611197 18.596214 362.367899 11.622634 74.126577-2.841088 144.120661-5.682177 202.492111-4.649054 193.710566 3.874211 339.122631 80.841876 444.75946 235.552049 64.828469 95.047318 41.583202 188.544951 4.390773 269.903388-4.649054-3.615931-9.039826-7.748423-12.655757-12.139195-10.33123-12.397476-28.669164-14.463722-41.324921-4.649054-12.655757 10.072949-14.722003 28.669164-4.649054 41.324921 5.940457 7.490142 36.675867 42.874605 74.643138 39.775236h2.066246c1.291404-0.258281 2.324527 0 3.615931-0.258281 25.828075-4.649054 42.358044-3.615931 57.596608 6.198738 20.40418 12.914038 30.218848 20.40418 28.410883 26.861199z"/>
  404. <local:MyIconTextButton Text="CC BY-NC-SA 4.0" ToolTip="无特殊声明本主页文字内容使用该授权协议" EventType="打开网页"
  405. EventData="https://creativecommons.org/licenses/by-nc-sa/4.0/"
  406. LogoScale="1" Logo="M8.75.75V2h.985c.304 0 .603.08.867.231l1.29.736c.038.022.08.033.124.033h2.234a.75.75 0 0 1 0 1.5h-.427l2.111 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.006.005-.01.01-.045.04c-.21.176-.441.327-.686.45C14.556 10.78 13.88 11 13 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L12.178 4.5h-.162c-.305 0-.604-.079-.868-.231l-1.29-.736a.245.245 0 0 0-.124-.033H8.75V13h2.5a.75.75 0 0 1 0 1.5h-6.5a.75.75 0 0 1 0-1.5h2.5V3.5h-.984a.245.245 0 0 0-.124.033l-1.289.737c-.265.15-.564.23-.869.23h-.162l2.112 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.016.015-.045.04c-.21.176-.441.327-.686.45C4.556 10.78 3.88 11 3 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L2.178 4.5H1.75a.75.75 0 0 1 0-1.5h2.234a.249.249 0 0 0 .125-.033l1.288-.737c.265-.15.564-.23.869-.23h.984V.75a.75.75 0 0 1 1.5 0Zm2.945 8.477c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L13 6.327Zm-10 0c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L3 6.327Z" />
  407. </StackPanel>
  408. </StackPanel>
  409. <StackPanel HorizontalAlignment="Right" >
  410. <local:MyIconTextButton HorizontalAlignment="Left" Text="反馈" ToolTip="反馈新闻主页问题" EventType="打开网页"
  411. EventData="https://github.com/Light-Beacon/PCL2-NewsHomepage/issues/new/choose"
  412. LogoScale="1" Logo="M8 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0z M1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0z"/>
  413. <local:MyIconTextButton HorizontalAlignment="Left" Text="刷新" ToolTip="刷新新闻主页" EventType="刷新主页"
  414. LogoScale="0.9" Logo="M960 416V192l-73.056 73.056a447.712 447.712 0 0 0-373.6-201.088C265.92 63.968 65.312 264.544 65.312 512S265.92 960.032 513.344 960.032a448.064 448.064 0 0 0 415.232-279.488 38.368 38.368 0 1 0-71.136-28.896 371.36 371.36 0 0 1-344.096 231.584C308.32 883.232 142.112 717.024 142.112 512S308.32 140.768 513.344 140.768c132.448 0 251.936 70.08 318.016 179.84L736 416h224z"/>
  415. </StackPanel>
  416. </Grid>
  417. <Border Background="{DynamicResource ColorBrush2}" Height="10" CornerRadius="0,0,8,8"/>
  418. </StackPanel>
  419. </local:MyCard>
  420. </StackPanel>