ViewModularContent.xaml 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404
  1. <UserControl
  2. x:Class="PDF_Office.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_Office.Views.PropertyPanel.AnnotPanel"
  6. xmlns:Convert="clr-namespace:PDF_Office.DataConvert"
  7. xmlns:ViewModular="clr-namespace:PDF_Office.ViewModels.PropertyPanel.ViewModular"
  8. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9. xmlns:local="clr-namespace:PDF_Office.Views.PropertyPanel.ViewModular"
  10. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11. xmlns:prism="http://prismlibrary.com/"
  12. Width="256"
  13. d:DataContext="{d:DesignInstance Type=ViewModular:ViewModularContentViewModel}"
  14. d:DesignHeight="900"
  15. d:DesignWidth="256"
  16. prism:ViewModelLocator.AutoWireViewModel="True"
  17. mc:Ignorable="d">
  18. <UserControl.Resources>
  19. <ResourceDictionary>
  20. <ResourceDictionary.MergedDictionaries>
  21. <ResourceDictionary Source="pack://application:,,,/Styles/CheckBoxStyle.xaml" />
  22. <ResourceDictionary Source="pack://application:,,,/Styles/RadioButtonStyle.xaml" />
  23. <ResourceDictionary Source="pack://application:,,,/Styles/TextBoxStyle.xaml" />
  24. </ResourceDictionary.MergedDictionaries>
  25. </ResourceDictionary>
  26. </UserControl.Resources>
  27. <ScrollViewer VerticalScrollBarVisibility="Auto">
  28. <StackPanel Margin="5,0,5,0">
  29. <TextBlock
  30. Name="txtTitle"
  31. Height="auto"
  32. Margin="0,8,0,0"
  33. HorizontalAlignment="Center"
  34. FontFamily="Segoe UI Semibold"
  35. FontSize="18"
  36. FontWeight="SemiBold"
  37. Text="视图" />
  38. <TextBlock
  39. Name="txtDisplayMode"
  40. Margin="0,8,0,14"
  41. Style="{StaticResource PagesView_titleContext}"
  42. Text="显示模式" />
  43. <StackPanel Orientation="Horizontal">
  44. <RadioButton
  45. Name="RBtnSinglePage"
  46. Command="{Binding SetViewModeCommand}"
  47. GroupName="DisplayMode"
  48. IsChecked="{Binding IsSingleView}"
  49. Style="{StaticResource ViewModeViewRadioBtn}">
  50. <StackPanel Margin="0,0,3,0">
  51. <Path
  52. Margin="0,0,0,8"
  53. HorizontalAlignment="Center"
  54. Data="M9.80710597,0 L14,4.39289312 L14,16 L2,16 L2,0 L9.80710597,0 Z M8.999,1 L3,1 L3,15 L13,15 L13,4.999 L8.999999,5 L8.999,1 Z M12.236,3.999 L9.999,1.64 L9.999,4 L12.236,3.999 Z"
  55. Fill="{StaticResource MenuIco.fill}" />
  56. <TextBlock
  57. x:Name="SinglePageText"
  58. Style="{StaticResource ViewMode_txtContext}"
  59. Text="单页" />
  60. </StackPanel>
  61. </RadioButton>
  62. <RadioButton
  63. Name="RBtnTwoPage"
  64. Margin="4,0,4,0"
  65. Command="{Binding SetViewModeCommand}"
  66. GroupName="DisplayMode"
  67. IsChecked="{Binding IsTwoPageView}"
  68. Style="{StaticResource ViewModeViewRadioBtn}">
  69. <StackPanel Margin="0,0,3,0">
  70. <Path
  71. Margin="0,0,0,8"
  72. HorizontalAlignment="Center"
  73. Data="M0,15 L0,1 L11.807106,1 L16,5.39289312 L16,15 L0,15 Z M7.5,2 L1,2 L1,14 L7.5,14 L7.5,2 Z M10.999,2 L8.5,2 L8.5,14 L15,14 L15,5.999 L10.999999,6 L10.999,2 Z M11.999,2.64 L11.999,5 L14.236,4.999 L11.999,2.64 Z"
  74. Fill="{StaticResource MenuIco.fill}" />
  75. <TextBlock
  76. x:Name="TwoPageText"
  77. Style="{StaticResource ViewMode_txtContext}"
  78. Text="双页" />
  79. </StackPanel>
  80. </RadioButton>
  81. <RadioButton
  82. Name="RBtnBookMode"
  83. Margin="0,0,4,0"
  84. Command="{Binding SetViewModeCommand}"
  85. GroupName="DisplayMode"
  86. IsChecked="{Binding IsBookModeView}"
  87. Style="{StaticResource ViewModeViewRadioBtn}">
  88. <StackPanel Margin="0,0,3,0">
  89. <Grid
  90. Width="16"
  91. Height="16"
  92. Margin="0,0,0,8">
  93. <Path
  94. HorizontalAlignment="Center"
  95. VerticalAlignment="Bottom"
  96. Data="M7,0 L7,5 L6,5 L6,1 L1,1 L1,5 L0,5 L0,0 L7,0 Z M16,0 L16,5 L15,5 L15,1 L10,1 L10,5 L9,5 L9,0 L16,0 Z"
  97. Fill="{StaticResource MenuIco.fill}" />
  98. <Path
  99. HorizontalAlignment="Center"
  100. VerticalAlignment="Top"
  101. Data="M3.80710597,0 L7,3.39289312 L7,9 L0,9 L0,0 L3.80710597,0 Z M2.999,1 L1,1 L1,8 L6,8 L6,3.999 L2.999999,4 L2.999,1 Z M5.251,2.999 L3.999,1.652 L3.999,3 L5.251,2.999 Z"
  102. Fill="{StaticResource MenuIco.fill}">
  103. <Path.RenderTransform>
  104. <TransformGroup>
  105. <TranslateTransform X="-5" />
  106. </TransformGroup>
  107. </Path.RenderTransform>
  108. </Path>
  109. </Grid>
  110. <TextBlock
  111. x:Name="BookModeText"
  112. Style="{StaticResource ViewMode_txtContext}"
  113. Text="书本模式" />
  114. </StackPanel>
  115. </RadioButton>
  116. </StackPanel>
  117. <StackPanel Margin="0,5,0,0" Orientation="Horizontal">
  118. <RadioButton
  119. Name="RbtnReadMode"
  120. HorizontalAlignment="Left"
  121. Click="RbtnReadMode_Click"
  122. GroupName="DisplayMode"
  123. Style="{StaticResource ViewModeViewRadioBtn}">
  124. <StackPanel Margin="0,0,3,0">
  125. <Grid
  126. Margin="0,0,0,8"
  127. HorizontalAlignment="Center"
  128. VerticalAlignment="Center">
  129. <Path Data="M11,6.5 L11,9 L10,9 L10,8.206 L6.706,11.5 L7.5,11.5 L7.5,12.5 L5,12.5 L5,10 L6,10 L6,10.792 L9.292,7.5 L8.5,7.5 L8.5,6.5 L11,6.5 Z" Fill="{StaticResource MenuIco.fill}" />
  130. <Path
  131. HorizontalAlignment="Center"
  132. Data="M9.80710597,0 L14,4.39289312 L14,16 L2,16 L2,0 L9.80710597,0 Z M8.999,1 L3,1 L3,15 L13,15 L13,4.999 L8.999999,5 L8.999,1 Z M12.236,3.999 L9.999,1.64 L9.999,4 L12.236,3.999 Z"
  133. Fill="{StaticResource MenuIco.fill}" />
  134. </Grid>
  135. <TextBlock
  136. x:Name="ReadModeText"
  137. Style="{StaticResource ViewMode_txtContext}"
  138. Text="阅读模式" />
  139. </StackPanel>
  140. </RadioButton>
  141. <RadioButton
  142. Name="RBtnFullScreen"
  143. Margin="4,0,4,0"
  144. Command="{Binding OpenFullCommand}"
  145. GroupName="DisplayMode"
  146. IsChecked="{Binding IsFullScreen}"
  147. Style="{StaticResource ViewModeViewRadioBtn}">
  148. <StackPanel Margin="0,0,3,0" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
  149. <Path
  150. Margin="0,0,0,8"
  151. HorizontalAlignment="Center"
  152. Data="M0,15 L0,1 L11.807106,1 L16,5.39289312 L16,15 L0,15 Z M7.5,2 L1,2 L1,14 L7.5,14 L7.5,2 Z M10.999,2 L8.5,2 L8.5,14 L15,14 L15,5.999 L10.999999,6 L10.999,2 Z M11.999,2.64 L11.999,5 L14.236,4.999 L11.999,2.64 Z"
  153. Fill="{StaticResource MenuIco.fill}" />
  154. <TextBlock
  155. x:Name="FullScreenText"
  156. Style="{StaticResource ViewMode_txtContext}"
  157. Text="全屏" />
  158. </StackPanel>
  159. </RadioButton>
  160. <RadioButton
  161. Name="RBtnSlide"
  162. Margin="0,0,4,0"
  163. GroupName="DisplayMode"
  164. Style="{StaticResource ViewModeViewRadioBtn}"
  165. Visibility="Collapsed">
  166. <StackPanel Margin="0,0,3,0">
  167. <Grid
  168. Width="16"
  169. Height="16"
  170. Margin="0,0,0,8">
  171. <Path
  172. HorizontalAlignment="Center"
  173. VerticalAlignment="Bottom"
  174. Data="M7,0 L7,5 L6,5 L6,1 L1,1 L1,5 L0,5 L0,0 L7,0 Z M16,0 L16,5 L15,5 L15,1 L10,1 L10,5 L9,5 L9,0 L16,0 Z"
  175. Fill="{StaticResource MenuIco.fill}" />
  176. <Path
  177. HorizontalAlignment="Center"
  178. VerticalAlignment="Top"
  179. Data="M3.80710597,0 L7,3.39289312 L7,9 L0,9 L0,0 L3.80710597,0 Z M2.999,1 L1,1 L1,8 L6,8 L6,3.999 L2.999999,4 L2.999,1 Z M5.251,2.999 L3.999,1.652 L3.999,3 L5.251,2.999 Z"
  180. Fill="{StaticResource MenuIco.fill}">
  181. <Path.RenderTransform>
  182. <TransformGroup>
  183. <TranslateTransform X="-5" />
  184. </TransformGroup>
  185. </Path.RenderTransform>
  186. </Path>
  187. </Grid>
  188. <TextBlock
  189. x:Name="SlideText"
  190. Style="{StaticResource ViewMode_txtContext}"
  191. Text="幻灯片" />
  192. </StackPanel>
  193. </RadioButton>
  194. </StackPanel>
  195. <Separator
  196. Width="248"
  197. Height="1"
  198. Margin="0,8,0,8"
  199. BorderBrush="{StaticResource Separator.fill}"
  200. BorderThickness="1"
  201. Style="{StaticResource {x:Static ToolBar.SeparatorStyleKey}}" />
  202. <CheckBox
  203. Name="chkContinue"
  204. Margin="0,6,0,6"
  205. VerticalContentAlignment="Center"
  206. Command="{Binding ContinueCommand}"
  207. Content="连续滚动"
  208. FontFamily="Segoe UI"
  209. FontSize="14"
  210. IsChecked="{Binding IsContinue}"
  211. Template="{StaticResource MenuCheckbox}" />
  212. <CheckBox
  213. Name="chkPagesBreak"
  214. Margin="0,6,0,6"
  215. VerticalContentAlignment="Center"
  216. Command="{Binding PagesBreakCommand}"
  217. Content="分页符"
  218. FontFamily="Segoe UI"
  219. FontSize="14"
  220. IsChecked="{Binding IsPagesBreak}"
  221. Template="{StaticResource MenuCheckbox}" />
  222. <TextBlock
  223. Name="txtScrollMode"
  224. Margin="0,26,0,14"
  225. Style="{StaticResource PagesView_titleContext}"
  226. Text="Scoll Mode"
  227. Visibility="Collapsed" />
  228. <StackPanel Orientation="Horizontal" Visibility="Collapsed">
  229. <RadioButton
  230. Name="RbtnVertical"
  231. GroupName="ScrollMode"
  232. IsChecked="True"
  233. Style="{StaticResource SplitModeViewRadioBtn}">
  234. <StackPanel Margin="0,0,3,0">
  235. <Grid Margin="0,0,0,8">
  236. <Polygon
  237. HorizontalAlignment="Center"
  238. Fill="{StaticResource MenuIco.fill}"
  239. Points="2 0 2 6 14 6 14 0 15 0 15 7 1 7 1 0" />
  240. <Path
  241. HorizontalAlignment="Center"
  242. 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"
  243. Fill="{StaticResource MenuIco.fill}" />
  244. </Grid>
  245. <TextBlock Style="{StaticResource PagesView_txtContext}" Text="Vertical" />
  246. </StackPanel>
  247. </RadioButton>
  248. <RadioButton
  249. Name="RbtnHorizontal"
  250. Margin="8,0,0,0"
  251. GroupName="ScrollMode"
  252. Style="{StaticResource SplitModeViewRadioBtn}">
  253. <StackPanel Margin="0,0,3,0">
  254. <Grid Margin="0,0,0,8">
  255. <Polygon
  256. HorizontalAlignment="Center"
  257. Fill="{StaticResource MenuIco.fill}"
  258. Points="2 0 2 6 14 6 14 0 15 0 15 7 1 7 1 0" />
  259. <Path
  260. HorizontalAlignment="Center"
  261. 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"
  262. Fill="{StaticResource MenuIco.fill}" />
  263. </Grid>
  264. <TextBlock Style="{StaticResource PagesView_txtContext}" Text="Vertical" />
  265. </StackPanel>
  266. </RadioButton>
  267. </StackPanel>
  268. <TextBlock
  269. Name="txtSplitMode"
  270. Margin="0,26,0,14"
  271. Style="{StaticResource PagesView_titleContext}"
  272. Text="分屏视图" />
  273. <Grid>
  274. <Grid.RowDefinitions>
  275. <RowDefinition Height="80" />
  276. <RowDefinition />
  277. </Grid.RowDefinitions>
  278. <StackPanel Grid.Row="0" Orientation="Horizontal">
  279. <RadioButton
  280. Name="RbtnDisable"
  281. Command="{Binding DisableCommand}"
  282. GroupName="SplitMode"
  283. IsChecked="True"
  284. Style="{StaticResource ViewModeViewRadioBtn}"
  285. Tag="Disable">
  286. <StackPanel Margin="0,0,3,0">
  287. <Path
  288. Margin="0,0,0,8"
  289. HorizontalAlignment="Center"
  290. 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"
  291. Fill="{StaticResource MenuIco.fill}" />
  292. <TextBlock
  293. x:Name="DisableText"
  294. Style="{StaticResource PagesView_txtContext}"
  295. Text="单屏" />
  296. </StackPanel>
  297. </RadioButton>
  298. <RadioButton
  299. Name="RbtnVerticalSplit"
  300. Margin="4,0,4,0"
  301. Command="{Binding SplitScreenCommand}"
  302. CommandParameter="{Binding ElementName=RbtnVerticalSplit}"
  303. GroupName="SplitMode"
  304. Style="{StaticResource ViewModeViewRadioBtn}"
  305. Tag="VerticalSplit">
  306. <StackPanel Margin="0,0,3,0">
  307. <Path
  308. Margin="0,0,0,8"
  309. HorizontalAlignment="Center"
  310. 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"
  311. Fill="{StaticResource MenuIco.fill}" />
  312. <TextBlock
  313. x:Name="VerticalText"
  314. Style="{StaticResource PagesView_txtContext}"
  315. Text="垂直" />
  316. </StackPanel>
  317. </RadioButton>
  318. <RadioButton
  319. Name="RbtnHorizontalSplit"
  320. Command="{Binding SplitScreenCommand}"
  321. CommandParameter="{Binding ElementName=RbtnHorizontalSplit}"
  322. GroupName="SplitMode"
  323. Style="{StaticResource ViewModeViewRadioBtn}"
  324. Tag="HorizontalSplit">
  325. <StackPanel Margin="0,0,3,0">
  326. <Path
  327. Margin="0,0,0,8"
  328. HorizontalAlignment="Center"
  329. 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"
  330. Fill="{StaticResource MenuIco.fill}" />
  331. <TextBlock
  332. x:Name="HorizontalText"
  333. Style="{StaticResource PagesView_txtContext}"
  334. Text="水平" />
  335. </StackPanel>
  336. </RadioButton>
  337. </StackPanel>
  338. <ContentControl
  339. x:Name="SplitScreenViewContent"
  340. Grid.Row="1"
  341. VerticalAlignment="Stretch"
  342. prism:RegionManager.RegionName="{Binding SplitScreenViewRegionName}"
  343. Visibility="{Binding SplitScreenViewVisible}" />
  344. </Grid>
  345. <TextBlock
  346. Name="txtRotate"
  347. Margin="0,26,0,14"
  348. Style="{StaticResource PagesView_titleContext}"
  349. Text="旋转" />
  350. <StackPanel Orientation="Horizontal">
  351. <Button
  352. x:Name="btnRotateRight"
  353. Width="114"
  354. Height="32"
  355. Background="Transparent"
  356. BorderBrush="#FF273C62"
  357. BorderThickness="1"
  358. Click="btnRotateRight_Click"
  359. Tag="true">
  360. <StackPanel Orientation="Horizontal">
  361. <Path
  362. Width="16"
  363. Height="16"
  364. Data="M10.7071068,6 L14,9.29289322 L14,16 L5,16 L5,6 L10.7071068,6 Z M10,7 L6,7 L6,15 L13,15 L13,10 L10,10 L10,7 Z M11,7.708 L11,9 L12.292,9 L11,7.708 Z M5.19309241,0.5 L7.5,3 L5.19309241,5.5 L4.5,4.74889448 L5.653,3.499 L4.5,3.5 L4.35553999,3.50686658 C3.64242883,3.57500853 3.07500853,4.14242883 3.00686658,4.85553999 L3,5 L3,7.5 L2,7.5 L2,5 L2.00531768,4.83562431 C2.08643451,3.58587295 3.08587295,2.58643451 4.33562431,2.50531768 L4.5,2.5 L5.651,2.499 L4.5,1.25110552 L5.19309241,0.5 Z"
  365. Fill="{StaticResource MenuIco.fill}" />
  366. </StackPanel>
  367. </Button>
  368. <Button
  369. Name="btnRotateLeft"
  370. Width="114"
  371. Height="32"
  372. Margin="15,0,0,0"
  373. Background="Transparent"
  374. BorderBrush="#FF273C62"
  375. BorderThickness="1"
  376. Click="btnRotateRight_Click"
  377. Tag="false">
  378. <StackPanel Orientation="Horizontal">
  379. <Path
  380. Width="16"
  381. Height="16"
  382. Data="M7.70710678,6 L11,9.29289322 L11,16 L2,16 L2,6 L7.70710678,6 Z M7,7 L3,7 L3,15 L10,15 L10,10 L7,10 L7,7 Z M8,7.708 L8,9 L9.292,9 L8,7.708 Z M10.8069076,0.5 L11.5,1.25110552 L10.349,2.499 L11.5,2.5 L11.6643757,2.50531768 C12.914127,2.58643451 13.9135655,3.58587295 13.9946823,4.83562431 L13.9946823,4.83562431 L14,5 L14,7.5 L13,7.5 L13,5 L12.9931334,4.85553999 C12.9249915,4.14242883 12.3575712,3.57500853 11.64446,3.50686658 L11.64446,3.50686658 L11.5,3.5 L10.347,3.499 L11.5,4.74889448 L10.8069076,5.5 L8.5,3 L10.8069076,0.5 Z"
  383. Fill="{StaticResource MenuIco.fill}" />
  384. </StackPanel>
  385. </Button>
  386. </StackPanel>
  387. <TextBlock
  388. Name="txtThemes"
  389. Margin="0,26,0,14"
  390. Style="{StaticResource PagesView_titleContext}"
  391. Text="主题" />
  392. <!--<local:ThemesContent x:Name="ThemesCtrl" Margin="-4,0,-4,0" />-->
  393. <ContentControl
  394. x:Name="ThemesContent"
  395. VerticalAlignment="Stretch"
  396. prism:RegionManager.RegionName="{Binding ThemesContentName}" />
  397. </StackPanel>
  398. </ScrollViewer>
  399. </UserControl>