1
0

PageVersionOverall.xaml 6.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <local:MyPageRight
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:local="clr-namespace:PCL" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:System="clr-namespace:System;assembly=mscorlib"
  6. mc:Ignorable="d" x:Class="PageVersionOverall"
  7. d:DesignWidth="800" d:DesignHeight="800" Grid.IsSharedSizeScope="True">
  8. <local:MyScrollViewer VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Disabled" x:Name="PanBack">
  9. <StackPanel x:Name="PanMain" Margin="25,10">
  10. <local:MyCard Margin="0,15" Title="个性化" x:Name="PanDisplay">
  11. <StackPanel Margin="25,40,25,15">
  12. <Grid Margin="-7,-3,0,12" Name="PanDisplayItem" />
  13. <Grid x:Name="PanDisplayIcon" Margin="0,0,0,11" HorizontalAlignment="Stretch">
  14. <Grid.ColumnDefinitions>
  15. <ColumnDefinition Width="Auto" SharedSizeGroup="Name" />
  16. <ColumnDefinition />
  17. </Grid.ColumnDefinitions>
  18. <Grid.RowDefinitions>
  19. <RowDefinition Height="28" />
  20. <RowDefinition Height="9" />
  21. <RowDefinition Height="28" />
  22. </Grid.RowDefinitions>
  23. <TextBlock VerticalAlignment="Center" HorizontalAlignment="Left" Text="版本图标" Margin="0,0,25,0" />
  24. <local:MyComboBox Grid.Column="1" x:Name="ComboDisplayLogo">
  25. <local:MyComboBoxItem Content="自动" IsSelected="True" Tag="" />
  26. <local:MyComboBoxItem Content="自定义..." x:Name="ItemDisplayLogoCustom" />
  27. <local:MyComboBoxItem Content="圆石" Tag="pack://application:,,,/images/Blocks/CobbleStone.png" />
  28. <local:MyComboBoxItem Content="命令方块" Tag="pack://application:,,,/images/Blocks/CommandBlock.png" />
  29. <local:MyComboBoxItem Content="金块" Tag="pack://application:,,,/images/Blocks/GoldBlock.png" />
  30. <local:MyComboBoxItem Content="草方块" Tag="pack://application:,,,/images/Blocks/Grass.png" />
  31. <local:MyComboBoxItem Content="草径" Tag="pack://application:,,,/images/Blocks/GrassPath.png" />
  32. <local:MyComboBoxItem Content="铁砧" Tag="pack://application:,,,/images/Blocks/Anvil.png" />
  33. <local:MyComboBoxItem Content="红石块" Tag="pack://application:,,,/images/Blocks/RedstoneBlock.png" />
  34. <local:MyComboBoxItem Content="红石灯(开)" Tag="pack://application:,,,/images/Blocks/RedstoneLampOn.png" />
  35. <local:MyComboBoxItem Content="红石灯(关)" Tag="pack://application:,,,/images/Blocks/RedstoneLampOff.png" />
  36. <local:MyComboBoxItem Content="鸡蛋" Tag="pack://application:,,,/images/Blocks/Egg.png" />
  37. <local:MyComboBoxItem Content="布料(Fabric)" Tag="pack://application:,,,/images/Blocks/Fabric.png" />
  38. </local:MyComboBox>
  39. <TextBlock VerticalAlignment="Center" Grid.Row="2" HorizontalAlignment="Left" Text="版本分类" Margin="0,0,25,0" />
  40. <local:MyComboBox Grid.Column="1" Grid.Row="2" x:Name="ComboDisplayType">
  41. <local:MyComboBoxItem Content="自动" IsSelected="True" />
  42. <local:MyComboBoxItem Content="从版本列表中隐藏" ToolTip="该版本默认将不会在版本列表中显示。&#xA;在版本列表页面按下 F11,即可查看所有隐藏的版本。" ToolTipService.ShowDuration="2333333" />
  43. <local:MyComboBoxItem Content="可安装 Mod 的版本" />
  44. <local:MyComboBoxItem Content="常规版本" />
  45. <local:MyComboBoxItem Content="不常用版本" />
  46. <local:MyComboBoxItem Content="愚人节版本" />
  47. </local:MyComboBox>
  48. </Grid>
  49. <Grid Margin="0,0,0,7" Height="35">
  50. <Grid.ColumnDefinitions>
  51. <ColumnDefinition Width="Auto" SharedSizeGroup="Button" />
  52. <ColumnDefinition Width="Auto" SharedSizeGroup="Button" />
  53. <ColumnDefinition Width="Auto" SharedSizeGroup="Button" />
  54. </Grid.ColumnDefinitions>
  55. <local:MyButton x:Name="BtnDisplayRename" Text="重命名版本" MinWidth="140" Padding="13,0" Margin="0,0,20,0" />
  56. <local:MyButton x:Name="BtnDisplayDesc" Text="更改描述" MinWidth="140" Padding="13,0" Margin="0,0,20,0" Grid.Column="1" />
  57. <local:MyButton x:Name="BtnDisplayStar" Text="加入收藏夹" MinWidth="140" Padding="13,0" Margin="0,0,20,0" Grid.Column="2" />
  58. </Grid>
  59. </StackPanel>
  60. </local:MyCard>
  61. <local:MyCard Margin="0,0,0,15" Title="管理" x:Name="PanManage">
  62. <StackPanel Margin="25,40,25,15">
  63. <Grid Margin="0,2,0,7" Height="35">
  64. <Grid.ColumnDefinitions>
  65. <ColumnDefinition Width="Auto" SharedSizeGroup="Button" />
  66. <ColumnDefinition Width="Auto" SharedSizeGroup="Button" />
  67. <ColumnDefinition Width="Auto" SharedSizeGroup="Button" />
  68. </Grid.ColumnDefinitions>
  69. <local:MyButton x:Name="BtnManageFolder" Text="打开版本文件夹" MinWidth="140" Padding="13,0" Margin="0,0,20,0" />
  70. <local:MyButton x:Name="BtnManageCheck" Text="补全文件" MinWidth="140" Padding="13,0" Margin="0,0,20,0" Grid.Column="1" ToolTip="校验版本依赖文件是否完整,并重新下载 Assets 索引与缺失、校验失败的文件。&#xa;若游戏缺失音效,请尝试此项。" ToolTipService.ShowDuration="2333333" />
  71. <local:MyButton x:Name="BtnManageDelete" Text="删除版本" MinWidth="140" Padding="13,0" Margin="0,0,20,0" Grid.Column="2" ColorType="Red" />
  72. </Grid>
  73. </StackPanel>
  74. </local:MyCard>
  75. </StackPanel>
  76. </local:MyScrollViewer>
  77. </local:MyPageRight>