april_fools.xaml 2.5 KB

1234567891011121314151617181920212223242526272829
  1. <StackPanel Margin="0,-10,0,0"
  2. xmlns:sys="clr-namespace:System;assembly=mscorlib"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:local="clr-namespace:PCL;assembly=Plain Craft Launcher 2">
  5. <StackPanel.Triggers>
  6. </StackPanel.Triggers>
  7. <StackPanel.Resources>
  8. <Style TargetType="FlowDocument"><Setter Property="FontFamily" Value="Microsoft YaHei UI"/><Setter Property="FontSize" Value="14"/><Setter Property="TextAlignment" Value="Left"/></Style>
  9. <Style TargetType="FlowDocumentScrollViewer"><Setter Property="IsSelectionEnabled" Value="False"/><Setter Property="VerticalScrollBarVisibility" Value="Hidden"/><Setter Property="Margin" Value="0"/></Style>
  10. <Style TargetType="List"><Setter Property="Foreground" Value="{DynamicResource ColorBrush3}"/><Setter Property="Margin" Value="20,6,0,6"/><Setter Property="MarkerStyle" Value="1"/><Setter Property="Padding" Value="0"/></Style>
  11. <Style TargetType="Paragraph"><Setter Property="LineHeight" Value="12"/><Setter Property="TextIndent" Value="0"/><Setter Property="Margin" Value="0,8"/></Style>
  12. <Style x:Key="ContentStack" TargetType="StackPanel"><Setter Property="Margin" Value="20,40,20,20"/></Style>
  13. <Style TargetType="ListItem"><Setter Property="Foreground" Value="Black"/><Setter Property="Margin" Value="0,4"/></Style>
  14. <Style TargetType="TextBlock"><Setter Property="TextWrapping" Value="Wrap"/><Setter Property="HorizontalAlignment" Value="Left"/><Setter Property="FontSize" Value="14"/><Setter Property="Foreground" Value="Black"/></Style>
  15. <Style x:Key="Card" TargetType="local:MyCard"><Setter Property="Margin" Value="0,5"/></Style>
  16. </StackPanel.Resources>
  17. <local:MyCard Title="版本列表" CanSwap="False" IsSwaped="False" Style="{StaticResource Card}" >
  18. <StackPanel Style="{StaticResource ContentStack}">
  19. <StackPanel Margin="8,2,8,15"><local:MyListItem Margin="10,1,10,1" ToolTip="愚人节版 点击查看该版本更新日志"
  20. Logo="pack://application:,,,/images/Blocks/GoldBlock.png" Title="24w14potato" Info="2024 - 你有没有想过成为一只...毒马铃薯?"
  21. EventType="打开帮助" EventData="https://news.bugjump.net/VersionDetail.json?ver=24w14potato" Type="Clickable" /><local:MyListItem Margin="10,1,10,1" ToolTip="愚人节版 点击查看该版本更新日志"
  22. Logo="pack://application:,,,/images/Blocks/GoldBlock.png" Title="23w13a_or_b" Info="2023 - 在 Minecraft 的世界中作出更多选择!"
  23. EventType="打开帮助" EventData="https://news.bugjump.net/VersionDetail.json?ver=23w13a_or_b" Type="Clickable" /></StackPanel>
  24. </StackPanel>
  25. </local:MyCard>
  26. </StackPanel>