ViewModularContent.xaml 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398
  1. <UserControl
  2. x:Class="PDF_Master.Views.PropertyPanel.ViewModular.ViewModularContent"
  3. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5. xmlns:AnnotPanel="clr-namespace:PDF_Master.Views.PropertyPanel.AnnotPanel"
  6. xmlns:Convert="clr-namespace:PDF_Master.DataConvert"
  7. xmlns:CustomControl="clr-namespace:PDF_Master.CustomControl"
  8. xmlns:ViewModular="clr-namespace:PDF_Master.ViewModels.PropertyPanel.ViewModular"
  9. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10. xmlns:local="clr-namespace:PDF_Master.Views.PropertyPanel.ViewModular"
  11. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12. xmlns:prism="http://prismlibrary.com/"
  13. Width="256"
  14. d:DataContext="{d:DesignInstance Type=ViewModular:ViewModularContentViewModel}"
  15. d:DesignHeight="900"
  16. d:DesignWidth="256"
  17. prism:ViewModelLocator.AutoWireViewModel="True"
  18. mc:Ignorable="d">
  19. <UserControl.Resources>
  20. <ResourceDictionary>
  21. <ResourceDictionary.MergedDictionaries>
  22. <ResourceDictionary Source="pack://application:,,,/Styles/CheckBoxStyle.xaml" />
  23. <ResourceDictionary Source="pack://application:,,,/Styles/RadioButtonStyle.xaml" />
  24. <ResourceDictionary Source="pack://application:,,,/Styles/TextBoxStyle.xaml" />
  25. </ResourceDictionary.MergedDictionaries>
  26. <PathGeometry x:Key="SinglePage " Figures="M3.5 1.75C3.5 1.61193 3.61193 1.5 3.75 1.5H8.5V4.75C8.5 5.16421 8.83579 5.5 9.25 5.5H12.5V14.25C12.5 14.3881 12.3881 14.5 12.25 14.5H3.75C3.61193 14.5 3.5 14.3881 3.5 14.25V1.75ZM11.4393 4L10 2.56066V4H11.4393ZM3.75 0C2.7835 0 2 0.783501 2 1.75V14.25C2 15.2165 2.7835 16 3.75 16H12.25C13.2165 16 14 15.2165 14 14.25V5.16421C14 4.70008 13.8156 4.25497 13.4874 3.92678L10.0732 0.512563C9.74503 0.184374 9.29992 0 8.83579 0H3.75Z" />
  27. </ResourceDictionary>
  28. </UserControl.Resources>
  29. <UserControl.InputBindings>
  30. <KeyBinding Command="{Binding OpenFullCommand}" Gesture="F11" />
  31. </UserControl.InputBindings>
  32. <ScrollViewer VerticalScrollBarVisibility="Auto">
  33. <StackPanel Margin="5,0,5,0">
  34. <TextBlock
  35. Name="txtTitle"
  36. Height="auto"
  37. Margin="16,8,0,0"
  38. HorizontalAlignment="Left"
  39. FontFamily="Segoe UI Semibold"
  40. FontSize="14"
  41. FontWeight="SemiBold"
  42. Foreground="{StaticResource color.sys.text.neutral.lv1}"
  43. Text="{Binding T_Title}" />
  44. <TextBlock
  45. Name="txtDisplayMode"
  46. Margin="16,16,0,14"
  47. FontSize="12"
  48. Foreground="{StaticResource color.sys.text.neutral.lv2}"
  49. Text="{Binding T_ModeTitle}" />
  50. <Grid>
  51. <Grid.ColumnDefinitions>
  52. <ColumnDefinition />
  53. <ColumnDefinition />
  54. <ColumnDefinition />
  55. </Grid.ColumnDefinitions>
  56. <Grid.RowDefinitions>
  57. <RowDefinition />
  58. <RowDefinition Height="20" />
  59. </Grid.RowDefinitions>
  60. <RadioButton
  61. Name="RBtnSinglePage"
  62. Width="32"
  63. Height="32"
  64. HorizontalAlignment="Center"
  65. VerticalAlignment="Center"
  66. Command="{Binding SetViewModeCommand}"
  67. GroupName="DisplayMode"
  68. IsChecked="{Binding IsSingleView}"
  69. Style="{StaticResource GreyBgRadioBtnStyle2}">
  70. <Path
  71. HorizontalAlignment="Center"
  72. Data="M3.5 1.75C3.5 1.61193 3.61193 1.5 3.75 1.5H8.5V4.75C8.5 5.16421 8.83579 5.5 9.25 5.5H12.5V14.25C12.5 14.3881 12.3881 14.5 12.25 14.5H3.75C3.61193 14.5 3.5 14.3881 3.5 14.25V1.75ZM11.4393 4L10 2.56066V4H11.4393ZM3.75 0C2.7835 0 2 0.783501 2 1.75V14.25C2 15.2165 2.7835 16 3.75 16H12.25C13.2165 16 14 15.2165 14 14.25V5.16421C14 4.70008 13.8156 4.25497 13.4874 3.92678L10.0732 0.512563C9.74503 0.184374 9.29992 0 8.83579 0H3.75Z"
  73. Fill="{Binding ElementName=RBtnSinglePage, Path=Foreground}" />
  74. </RadioButton>
  75. <TextBlock
  76. x:Name="SinglePageText"
  77. Grid.Row="1"
  78. HorizontalAlignment="Center"
  79. VerticalAlignment="Center"
  80. Style="{StaticResource ViewMode_txtContext}"
  81. Text="{Binding T_Single}" />
  82. <RadioButton
  83. Name="RBtnTwoPage"
  84. Grid.Column="1"
  85. Width="32"
  86. Height="32"
  87. HorizontalAlignment="Center"
  88. VerticalAlignment="Center"
  89. Command="{Binding SetViewModeCommand}"
  90. GroupName="DisplayMode"
  91. IsChecked="{Binding IsTwoPageView}"
  92. Style="{StaticResource GreyBgRadioBtnStyle2}">
  93. <Path
  94. HorizontalAlignment="Center"
  95. Data="M8.75 13.5V2H10.5V5.25C10.5 5.66421 10.8358 6 11.25 6H14.5V13.25C14.5 13.3881 14.3881 13.5 14.25 13.5H8.75ZM13.4393 4.5L12 3.06066V4.5H13.4393ZM14.25 15H8H1.75C0.783502 15 0 14.2165 0 13.25V5.25V2.25C0 1.2835 0.783502 0.5 1.75 0.5H4.75H8H10.8358C11.2999 0.5 11.745 0.684374 12.0732 1.01256L15.7803 4.71967C15.921 4.86032 16 5.05109 16 5.25V13.25C16 14.2165 15.2165 15 14.25 15ZM7.25 2V13.5H1.75C1.61193 13.5 1.5 13.3881 1.5 13.25V5.25V2.25C1.5 2.11193 1.61193 2 1.75 2H4.75H7.25Z"
  96. Fill="{Binding ElementName=RBtnTwoPage, Path=Foreground}" />
  97. </RadioButton>
  98. <TextBlock
  99. x:Name="TwoPageText"
  100. Grid.Row="1"
  101. Grid.Column="1"
  102. HorizontalAlignment="Center"
  103. VerticalAlignment="Center"
  104. Style="{StaticResource ViewMode_txtContext}"
  105. Text="{Binding T_Two}" />
  106. <RadioButton
  107. Name="RBtnBookMode"
  108. Grid.Column="2"
  109. Width="32"
  110. Height="32"
  111. HorizontalAlignment="Center"
  112. VerticalAlignment="Center"
  113. Command="{Binding SetViewModeCommand}"
  114. GroupName="DisplayMode"
  115. IsChecked="{Binding IsBookModeView}"
  116. Style="{StaticResource GreyBgRadioBtnStyle2}">
  117. <Path
  118. HorizontalAlignment="Center"
  119. Data="M2.51514 7V1.5H4.58932L6.11598 3.19217V7H2.51514ZM2.16514 0C1.53001 0 1.01514 0.514872 1.01514 1.15V7.35C1.01514 7.98513 1.53001 8.5 2.16514 8.5H6.46598C7.1011 8.5 7.61598 7.98513 7.61598 7.35V3.05762C7.61598 2.77304 7.51046 2.49857 7.31983 2.28728L5.5988 0.379658C5.38074 0.13796 5.07047 0 4.74494 0H2.16514ZM1.01514 10.4C1.01514 9.76487 1.53001 9.25 2.16514 9.25H4.9228H6.46598C7.1011 9.25 7.61598 9.76487 7.61598 10.4V12.1538V16H6.11598V12.1538V10.75H4.9228H2.51514V16H1.01514V10.4ZM8.41137 10.4C8.41137 9.76487 8.92624 9.25 9.56137 9.25H12.319H13.8622C14.4973 9.25 15.0122 9.76487 15.0122 10.4V12.1538V16H13.5122V12.1538V10.75H12.319H9.91137V16H8.41137V10.4Z"
  120. Fill="{Binding ElementName=RBtnBookMode, Path=Foreground}" />
  121. </RadioButton>
  122. <TextBlock
  123. x:Name="BookModeText"
  124. Grid.Row="1"
  125. Grid.Column="2"
  126. HorizontalAlignment="Center"
  127. VerticalAlignment="Center"
  128. Style="{StaticResource ViewMode_txtContext}"
  129. Text="{Binding T_Book}" />
  130. </Grid>
  131. <Grid Margin="0,8">
  132. <Grid.ColumnDefinitions>
  133. <ColumnDefinition />
  134. <ColumnDefinition />
  135. <ColumnDefinition />
  136. </Grid.ColumnDefinitions>
  137. <Grid.RowDefinitions>
  138. <RowDefinition />
  139. <RowDefinition Height="20" />
  140. </Grid.RowDefinitions>
  141. <RadioButton
  142. Name="RbtnReadMode"
  143. Width="32"
  144. Height="32"
  145. HorizontalAlignment="Center"
  146. VerticalAlignment="Center"
  147. Click="RbtnReadMode_Click"
  148. GroupName="DisplayMode"
  149. Style="{StaticResource GreyBgRadioBtnStyle2}">
  150. <Grid HorizontalAlignment="Center" VerticalAlignment="Center">
  151. <Path
  152. HorizontalAlignment="Center"
  153. Data="M3.75 1.5C3.61193 1.5 3.5 1.61193 3.5 1.75V14.25C3.5 14.3881 3.61193 14.5 3.75 14.5H12.25C12.3881 14.5 12.5 14.3881 12.5 14.25V5.16421C12.5 5.09791 12.4737 5.03432 12.4268 4.98744L9.01256 1.57322C8.96568 1.52634 8.90209 1.5 8.83579 1.5H3.75ZM2 1.75C2 0.783501 2.7835 0 3.75 0H8.83579C9.29992 0 9.74503 0.184374 10.0732 0.512563L13.4874 3.92678C13.8156 4.25497 14 4.70008 14 5.16421V14.25C14 15.2165 13.2165 16 12.25 16H3.75C2.7835 16 2 15.2165 2 14.25V1.75ZM10.534 7.76746C10.5341 7.76746 10.5339 7.76788 10.5336 7.76875C10.5334 7.76943 10.533 7.77039 10.5325 7.77163C10.5319 7.77295 10.5312 7.7746 10.5303 7.77656C10.5324 7.77053 10.5338 7.76748 10.534 7.76746ZM10.3848 8C10.2693 7.85076 10.1003 7.67183 9.88142 7.49362C9.34107 7.05372 8.66486 6.75 8 6.75C7.29136 6.75 6.60757 7.03887 6.09425 7.43935C5.84061 7.63723 5.664 7.83553 5.56271 7.98758L5.55453 8L5.56271 8.01242C5.664 8.16447 5.84061 8.36277 6.09425 8.56065C6.60757 8.96113 7.29136 9.25 8 9.25C8.66486 9.25 9.34107 8.94628 9.88142 8.50638C10.1003 8.32817 10.2693 8.14924 10.3848 8ZM10.5303 8.22344C10.5331 8.22954 10.5342 8.23256 10.534 8.23254C10.5338 8.23252 10.5324 8.22947 10.5303 8.22344ZM8 10.75C10.2091 10.75 12 8.78571 12 8C12 7.21429 10.2091 5.25 8 5.25C5.79086 5.25 4 7.01786 4 8C4 8.98214 5.79086 10.75 8 10.75ZM8 9C8.55228 9 9 8.55229 9 8C9 7.44772 8.55228 7 8 7C7.44772 7 7 7.44772 7 8C7 8.55229 7.44772 9 8 9Z"
  154. Fill="{Binding ElementName=RbtnReadMode, Path=Foreground}" />
  155. </Grid>
  156. </RadioButton>
  157. <TextBlock
  158. x:Name="ReadModeText"
  159. Grid.Row="1"
  160. HorizontalAlignment="Center"
  161. VerticalAlignment="Center"
  162. Style="{StaticResource ViewMode_txtContext}"
  163. Text="{Binding T_Read}" />
  164. <RadioButton
  165. Name="RBtnFullScreen"
  166. Grid.Column="1"
  167. Width="32"
  168. Height="32"
  169. Command="{Binding OpenFullCommand}"
  170. GroupName="DisplayMode"
  171. IsChecked="{Binding IsFullScreen}"
  172. Style="{StaticResource GreyBgRadioBtnStyle2}">
  173. <Path
  174. HorizontalAlignment="Center"
  175. Data="M12.4109 2.52832H10.069V1.02832H14.2214C14.6356 1.02832 14.9714 1.36411 14.9714 1.77832V5.93074H13.4714V3.5892L9.53019 7.53045L8.46952 6.4698L12.4109 2.52832ZM5.91701 13.4856H3.57513L7.53019 9.53048L6.46952 8.46983L2.51465 12.4248V10.0832H1.01465V14.2356C1.01465 14.6498 1.35043 14.9856 1.76465 14.9856H5.91701V13.4856Z"
  176. Fill="{Binding ElementName=RBtnFullScreen, Path=Foreground}" />
  177. </RadioButton>
  178. <TextBlock
  179. x:Name="FullScreenText"
  180. Grid.Row="1"
  181. Grid.Column="1"
  182. HorizontalAlignment="Center"
  183. VerticalAlignment="Center"
  184. Style="{StaticResource ViewMode_txtContext}"
  185. Text="{Binding T_Full}" />
  186. </Grid>
  187. <!--<Separator
  188. Width="248"
  189. Height="1"
  190. Margin="0,8,0,8"
  191. BorderBrush="{StaticResource Separator.fill}"
  192. BorderThickness="1"
  193. Style="{StaticResource {x:Static ToolBar.SeparatorStyleKey}}" />-->
  194. <CheckBox
  195. Name="chkContinue"
  196. Margin="17,16,0,6"
  197. VerticalContentAlignment="Center"
  198. Command="{Binding ContinueCommand}"
  199. Content="{Binding T_ContinuousScroll}"
  200. FontFamily="Segoe UI"
  201. FontSize="14"
  202. IsChecked="{Binding IsContinue}" />
  203. <CheckBox
  204. Name="chkPagesBreak"
  205. Margin="17,6,0,6"
  206. VerticalContentAlignment="Center"
  207. Command="{Binding PagesBreakCommand}"
  208. Content="{Binding T_PageBreak}"
  209. FontFamily="Segoe UI"
  210. FontSize="14"
  211. IsChecked="{Binding IsPagesBreak}" />
  212. <TextBlock
  213. Name="txtScrollMode"
  214. Margin="0,26,0,14"
  215. Style="{StaticResource PagesView_titleContext}"
  216. Text="Scoll Mode"
  217. Visibility="Collapsed" />
  218. <StackPanel Orientation="Horizontal" Visibility="Collapsed">
  219. <RadioButton
  220. Name="RbtnVertical"
  221. GroupName="ScrollMode"
  222. IsChecked="True"
  223. Style="{StaticResource SplitModeViewRadioBtn}">
  224. <StackPanel Margin="0,0,3,0">
  225. <Grid Margin="0,0,0,8">
  226. <Polygon
  227. HorizontalAlignment="Center"
  228. Fill="{StaticResource MenuIco.fill}"
  229. Points="2 0 2 6 14 6 14 0 15 0 15 7 1 7 1 0" />
  230. <Path
  231. HorizontalAlignment="Center"
  232. Data="M10.807106,9 L15,13.3928931 L15,16 L14,16 L14,14 L9.999999,14 L9.999,10 L2,10 L2,16 L1,16 L1,9 L10.807106,9 Z M13.237,13 L10.999,10.64 L10.999,13 L13.237,13 Z"
  233. Fill="{StaticResource MenuIco.fill}" />
  234. </Grid>
  235. <TextBlock Style="{StaticResource PagesView_txtContext}" Text="Vertical" />
  236. </StackPanel>
  237. </RadioButton>
  238. <RadioButton
  239. Name="RbtnHorizontal"
  240. Margin="8,0,0,0"
  241. GroupName="ScrollMode"
  242. Style="{StaticResource SplitModeViewRadioBtn}">
  243. <StackPanel Margin="0,0,3,0">
  244. <Grid Margin="0,0,0,8">
  245. <Polygon
  246. HorizontalAlignment="Center"
  247. Fill="{StaticResource MenuIco.fill}"
  248. Points="2 0 2 6 14 6 14 0 15 0 15 7 1 7 1 0" />
  249. <Path
  250. HorizontalAlignment="Center"
  251. Data="M10.807106,9 L15,13.3928931 L15,16 L14,16 L14,14 L9.999999,14 L9.999,10 L2,10 L2,16 L1,16 L1,9 L10.807106,9 Z M13.237,13 L10.999,10.64 L10.999,13 L13.237,13 Z"
  252. Fill="{StaticResource MenuIco.fill}" />
  253. </Grid>
  254. <TextBlock Style="{StaticResource PagesView_txtContext}" Text="Vertical" />
  255. </StackPanel>
  256. </RadioButton>
  257. </StackPanel>
  258. <TextBlock
  259. Name="txtSplitMode"
  260. Margin="0,26,0,14"
  261. Style="{StaticResource PagesView_titleContext}"
  262. Text="分屏视图"
  263. Visibility="Collapsed" />
  264. <Grid Visibility="Collapsed">
  265. <Grid.RowDefinitions>
  266. <RowDefinition Height="80" />
  267. </Grid.RowDefinitions>
  268. <StackPanel Grid.Row="0" Orientation="Horizontal">
  269. <RadioButton
  270. Name="RbtnDisable"
  271. Command="{Binding DisableCommand}"
  272. GroupName="SplitMode"
  273. IsChecked="True"
  274. Style="{StaticResource ViewModeViewRadioBtn}"
  275. Tag="Disable">
  276. <StackPanel Margin="0,0,3,0">
  277. <Path
  278. Margin="0,0,0,8"
  279. HorizontalAlignment="Center"
  280. Data="M14,0 L14,16 L2,16 L2,0 L14,0 Z M13,1 L3,1 L3,15 L13,15 L13,1 Z M8.57128906,5.79882813 L10.0654297,10 L9.03417969,10 L8.73535156,9.06542969 L7.24121094,9.06542969 L6.9453125,10 L5.91992188,10 L7.44921875,5.79882813 L8.57128906,5.79882813 Z M7.99707031,6.54882813 L7.97363281,6.54882813 C7.96386719,6.671875 7.93945312,6.79394531 7.90039062,6.91503906 L7.90039062,6.91503906 L7.44335938,8.33886719 L8.51855469,8.33886719 L8.06738281,6.92675781 C8.03417969,6.82128906 8.01074219,6.6953125 7.99707031,6.54882813 L7.99707031,6.54882813"
  281. Fill="{StaticResource MenuIco.fill}" />
  282. <TextBlock
  283. x:Name="DisableText"
  284. Style="{StaticResource PagesView_txtContext}"
  285. Text="单屏" />
  286. </StackPanel>
  287. </RadioButton>
  288. <RadioButton
  289. Name="RbtnVerticalSplit"
  290. Margin="4,0,4,0"
  291. Command="{Binding SplitScreenCommand}"
  292. CommandParameter="{Binding ElementName=RbtnVerticalSplit}"
  293. GroupName="SplitMode"
  294. Style="{StaticResource ViewModeViewRadioBtn}"
  295. Tag="VerticalSplit">
  296. <StackPanel Margin="0,0,3,0">
  297. <Path
  298. Margin="0,0,0,8"
  299. HorizontalAlignment="Center"
  300. Data="M16,1 L16,15 L0,15 L0,1 L16,1 Z M1,2 L1,14 L7.5,14 L7.5,2 L1,2 Z M4.82128906,5.79882813 L6.31542969,10 L5.28417969,10 L4.98535156,9.06542969 L3.49121094,9.06542969 L3.1953125,10 L2.16992188,10 L3.69921875,5.79882813 L4.82128906,5.79882813 Z M11.8364258,5.79882813 L12.030682,5.8040896 C12.4059212,5.82513552 12.7015206,5.9093192 12.9174805,6.05664063 C13.1694336,6.22851563 13.2954102,6.47070313 13.2954102,6.78320313 C13.2954102,7.00976563 13.21875,7.20800781 13.0654297,7.37792969 C12.9121094,7.54785156 12.7163086,7.66601563 12.4780273,7.73242188 L12.4780273,7.73242188 L12.4780273,7.74414063 L12.6224365,7.76879883 C12.854777,7.82006836 13.0454102,7.92220052 13.1943359,8.07519531 C13.3730469,8.25878906 13.4624023,8.48242188 13.4624023,8.74609375 C13.4624023,9.13085938 13.324707,9.43603516 13.0493164,9.66162109 C12.7739258,9.88720703 12.3979492,10 11.9213867,10 L11.9213867,10 L10.3071289,10 L10.3071289,5.79882813 L11.8364258,5.79882813 Z M11.7719727,8.1953125 L11.253418,8.1953125 L11.253418,9.30273438 L11.7661133,9.30273438 C11.9848633,9.30273438 12.15625,9.25195313 12.2802734,9.15039063 C12.4042969,9.04882813 12.4663086,8.91015625 12.4663086,8.734375 C12.4663086,8.56640625 12.4052734,8.43457031 12.2832031,8.33886719 C12.1611328,8.24316406 11.9907227,8.1953125 11.7719727,8.1953125 L11.7719727,8.1953125 Z M4.24707031,6.54882813 L4.22363281,6.54882813 L4.20898438,6.67154948 C4.19596354,6.7531467 4.17643229,6.8343099 4.15039062,6.91503906 L4.15039062,6.91503906 L3.69335938,8.33886719 L4.76855469,8.33886719 L4.31738281,6.92675781 L4.2874349,6.81445313 C4.26963976,6.73502604 4.2561849,6.64648438 4.24707031,6.54882813 L4.24707031,6.54882813 Z M11.6079102,6.49609375 L11.253418,6.49609375 L11.253418,7.4921875 L11.6694336,7.4921875 C11.8647461,7.4921875 12.0185547,7.44482422 12.1308594,7.35009766 C12.2431641,7.25537109 12.2993164,7.125 12.2993164,6.95898438 C12.2993164,6.65039063 12.0688477,6.49609375 11.6079102,6.49609375 L11.6079102,6.49609375 Z M8.5,14 L15,14 L15,2 L8.5,2 L8.5,14 Z"
  301. Fill="{StaticResource MenuIco.fill}" />
  302. <TextBlock
  303. x:Name="VerticalText"
  304. Style="{StaticResource PagesView_txtContext}"
  305. Text="垂直" />
  306. </StackPanel>
  307. </RadioButton>
  308. <RadioButton
  309. Name="RbtnHorizontalSplit"
  310. Command="{Binding SplitScreenCommand}"
  311. CommandParameter="{Binding ElementName=RbtnHorizontalSplit}"
  312. GroupName="SplitMode"
  313. Style="{StaticResource ViewModeViewRadioBtn}"
  314. Tag="HorizontalSplit">
  315. <StackPanel Margin="0,0,3,0">
  316. <Path
  317. Margin="0,0,0,8"
  318. HorizontalAlignment="Center"
  319. Data="M16,16.5 L0,16.5 L0,0.5 L16,0.5 L16,16.5 Z M15,9 L1,9 L1,15.5 L15,15.5 L15,9 Z M8.08642578,10.0488281 C8.55517578,10.0488281 8.91552734,10.1347656 9.16748047,10.3066406 C9.41943359,10.4785156 9.54541016,10.7207031 9.54541016,11.0332031 C9.54541016,11.2597656 9.46875,11.4580078 9.31542969,11.6279297 C9.16210938,11.7978516 8.96630859,11.9160156 8.72802734,11.9824219 L8.72802734,11.9824219 L8.72802734,11.9941406 C9.02685547,12.03125 9.265625,12.1416016 9.44433594,12.3251953 C9.62304688,12.5087891 9.71240234,12.7324219 9.71240234,12.9960937 C9.71240234,13.3808594 9.57470703,13.6860352 9.29931641,13.9116211 C9.02392578,14.137207 8.64794922,14.25 8.17138672,14.25 L8.17138672,14.25 L6.55712891,14.25 L6.55712891,10.0488281 Z M8.02197266,12.4453125 L7.50341797,12.4453125 L7.50341797,13.5527344 L8.01611328,13.5527344 C8.23486328,13.5527344 8.40625,13.5019531 8.53027344,13.4003906 C8.65429688,13.2988281 8.71630859,13.1601562 8.71630859,12.984375 C8.71630859,12.8164062 8.65527344,12.6845703 8.53320312,12.5888672 C8.41113281,12.4931641 8.24072266,12.4453125 8.02197266,12.4453125 L8.02197266,12.4453125 Z M7.85791016,10.7460937 L7.50341797,10.7460937 L7.50341797,11.7421875 L7.91943359,11.7421875 C8.11474609,11.7421875 8.26855469,11.6948242 8.38085938,11.6000977 C8.49316406,11.5053711 8.54931641,11.375 8.54931641,11.2089844 C8.54931641,10.9003906 8.31884766,10.7460937 7.85791016,10.7460937 L7.85791016,10.7460937 Z M15,1.5 L1,1.5 L1,8 L15,8 L15,1.5 Z M8.57128906,2.54882812 L10.0654297,6.75 L9.03417969,6.75 L8.73535156,5.81542969 L7.24121094,5.81542969 L6.9453125,6.75 L5.91992188,6.75 L7.44921875,2.54882812 L8.57128906,2.54882812 Z M7.99707031,3.29882812 L7.97363281,3.29882812 C7.96386719,3.421875 7.93945312,3.54394531 7.90039062,3.66503906 L7.90039062,3.66503906 L7.44335938,5.08886719 L8.51855469,5.08886719 L8.06738281,3.67675781 C8.03417969,3.57128906 8.01074219,3.4453125 7.99707031,3.29882812 L7.99707031,3.29882812 Z"
  320. Fill="{StaticResource MenuIco.fill}" />
  321. <TextBlock
  322. x:Name="HorizontalText"
  323. Style="{StaticResource PagesView_txtContext}"
  324. Text="水平" />
  325. </StackPanel>
  326. </RadioButton>
  327. </StackPanel>
  328. <!--<ContentControl
  329. x:Name="SplitScreenViewContent"
  330. Grid.Row="1"
  331. VerticalAlignment="Stretch"
  332. prism:RegionManager.RegionName="{Binding SplitScreenViewRegionName}"
  333. Visibility="{Binding SplitScreenViewVisible}" />-->
  334. </Grid>
  335. <TextBlock
  336. Name="txtRotate"
  337. Margin="16,26,0,14"
  338. FontSize="12"
  339. Foreground="{StaticResource color.sys.text.neutral.lv2}"
  340. Text="{Binding T_RotateTitle}" />
  341. <StackPanel Margin="15,0,0,0" Orientation="Horizontal">
  342. <Button
  343. x:Name="btnRotateRight"
  344. Width="106"
  345. Height="32"
  346. Click="btnRotateRight_Click"
  347. Style="{StaticResource btn.sec}"
  348. Tag="true">
  349. <StackPanel Orientation="Horizontal">
  350. <Path
  351. Width="16"
  352. Height="16"
  353. Data="M6.96391 3.59014L10.0709 1.79507L6.96391 0V3.59014ZM6.9639 2.54506C3.94677 2.54506 1.5 4.9928 1.5 8.01336H0C0 4.16537 3.11735 1.04506 6.9639 1.04506V2.54506ZM5.17828 5.93293C5.17828 5.51872 5.51407 5.18293 5.92828 5.18293H15.2491C15.6634 5.18293 15.9991 5.51872 15.9991 5.93293V15.2488C15.9991 15.6631 15.6634 15.9988 15.2491 15.9988H5.92828C5.51407 15.9988 5.17828 15.6631 5.17828 15.2488V5.93293ZM6.67828 6.68293V14.4988H14.4991V6.68293H6.67828Z"
  354. Fill="#616469" />
  355. </StackPanel>
  356. </Button>
  357. <Button
  358. Name="btnRotateLeft"
  359. Width="106"
  360. Height="32"
  361. Margin="10,0,0,0"
  362. Click="btnRotateRight_Click"
  363. Style="{StaticResource btn.sec}"
  364. Tag="false">
  365. <StackPanel Orientation="Horizontal">
  366. <Path
  367. Width="16"
  368. Height="16"
  369. Data="M9.03511 3.59014L5.92816 1.79507L9.03511 0V3.59014ZM9.03512 2.54506C12.0523 2.54506 14.499 4.9928 14.499 8.01336H15.999C15.999 4.16537 12.8817 1.04506 9.03512 1.04506V2.54506ZM10.8207 5.93293C10.8207 5.51872 10.485 5.18293 10.0707 5.18293H0.749885C0.335671 5.18293 -0.000115395 5.51872 -0.000115395 5.93293V15.2488C-0.000115395 15.6631 0.335671 15.9988 0.749885 15.9988H10.0707C10.485 15.9988 10.8207 15.6631 10.8207 15.2488V5.93293ZM9.32074 6.68293V14.4988H1.49988V6.68293H9.32074Z"
  370. Fill="#616469" />
  371. </StackPanel>
  372. </Button>
  373. </StackPanel>
  374. <TextBlock
  375. Name="txtThemes"
  376. Margin="0,26,0,14"
  377. Style="{StaticResource PagesView_titleContext}"
  378. Text="主题"
  379. Visibility="Collapsed" />
  380. <!--<local:ThemesContent x:Name="ThemesCtrl" Margin="-4,0,-4,0" />-->
  381. <ContentControl
  382. x:Name="ThemesContent"
  383. VerticalAlignment="Stretch"
  384. prism:RegionManager.RegionName="{Binding ThemesContentName}"
  385. Visibility="Collapsed" />
  386. </StackPanel>
  387. </ScrollViewer>
  388. </UserControl>