ViewModularContent.xaml 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399
  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. Background="{StaticResource color.sys.layout.mg}"
  19. mc:Ignorable="d">
  20. <UserControl.Resources>
  21. <ResourceDictionary>
  22. <ResourceDictionary.MergedDictionaries>
  23. <ResourceDictionary Source="pack://application:,,,/Styles/CheckBoxStyle.xaml" />
  24. <ResourceDictionary Source="pack://application:,,,/Styles/RadioButtonStyle.xaml" />
  25. <ResourceDictionary Source="pack://application:,,,/Styles/TextBoxStyle.xaml" />
  26. </ResourceDictionary.MergedDictionaries>
  27. <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" />
  28. </ResourceDictionary>
  29. </UserControl.Resources>
  30. <UserControl.InputBindings>
  31. <KeyBinding Command="{Binding OpenFullCommand}" Gesture="F11" />
  32. </UserControl.InputBindings>
  33. <ScrollViewer VerticalScrollBarVisibility="Auto">
  34. <StackPanel Margin="5,0,5,0">
  35. <TextBlock
  36. Name="txtTitle"
  37. Height="auto"
  38. Margin="16,8,0,0"
  39. HorizontalAlignment="Left"
  40. FontFamily="Segoe UI Semibold"
  41. FontSize="14"
  42. FontWeight="SemiBold"
  43. Foreground="{StaticResource color.sys.text.neutral.lv1}"
  44. Text="{Binding T_Title}" />
  45. <TextBlock
  46. Name="txtDisplayMode"
  47. Margin="16,16,0,14"
  48. FontSize="12"
  49. Foreground="{StaticResource color.sys.text.neutral.lv2}"
  50. Text="{Binding T_ModeTitle}" />
  51. <Grid>
  52. <Grid.ColumnDefinitions>
  53. <ColumnDefinition />
  54. <ColumnDefinition />
  55. <ColumnDefinition />
  56. </Grid.ColumnDefinitions>
  57. <Grid.RowDefinitions>
  58. <RowDefinition />
  59. <RowDefinition Height="20" />
  60. </Grid.RowDefinitions>
  61. <RadioButton
  62. Name="RBtnSinglePage"
  63. Width="32"
  64. Height="32"
  65. HorizontalAlignment="Center"
  66. VerticalAlignment="Center"
  67. Command="{Binding SetViewModeCommand}"
  68. GroupName="DisplayMode"
  69. IsChecked="{Binding IsSingleView}"
  70. Style="{StaticResource GreyBgRadioBtnStyle2}">
  71. <Path
  72. HorizontalAlignment="Center"
  73. 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"
  74. Fill="{Binding ElementName=RBtnSinglePage, Path=Foreground}" />
  75. </RadioButton>
  76. <TextBlock
  77. x:Name="SinglePageText"
  78. Grid.Row="1"
  79. HorizontalAlignment="Center"
  80. VerticalAlignment="Center"
  81. Style="{StaticResource ViewMode_txtContext}"
  82. Text="{Binding T_Single}" />
  83. <RadioButton
  84. Name="RBtnTwoPage"
  85. Grid.Column="1"
  86. Width="32"
  87. Height="32"
  88. HorizontalAlignment="Center"
  89. VerticalAlignment="Center"
  90. Command="{Binding SetViewModeCommand}"
  91. GroupName="DisplayMode"
  92. IsChecked="{Binding IsTwoPageView}"
  93. Style="{StaticResource GreyBgRadioBtnStyle2}">
  94. <Path
  95. HorizontalAlignment="Center"
  96. 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"
  97. Fill="{Binding ElementName=RBtnTwoPage, Path=Foreground}" />
  98. </RadioButton>
  99. <TextBlock
  100. x:Name="TwoPageText"
  101. Grid.Row="1"
  102. Grid.Column="1"
  103. HorizontalAlignment="Center"
  104. VerticalAlignment="Center"
  105. Style="{StaticResource ViewMode_txtContext}"
  106. Text="{Binding T_Two}" />
  107. <RadioButton
  108. Name="RBtnBookMode"
  109. Grid.Column="2"
  110. Width="32"
  111. Height="32"
  112. HorizontalAlignment="Center"
  113. VerticalAlignment="Center"
  114. Command="{Binding SetViewModeCommand}"
  115. GroupName="DisplayMode"
  116. IsChecked="{Binding IsBookModeView}"
  117. Style="{StaticResource GreyBgRadioBtnStyle2}">
  118. <Path
  119. HorizontalAlignment="Center"
  120. 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"
  121. Fill="{Binding ElementName=RBtnBookMode, Path=Foreground}" />
  122. </RadioButton>
  123. <TextBlock
  124. x:Name="BookModeText"
  125. Grid.Row="1"
  126. Grid.Column="2"
  127. HorizontalAlignment="Center"
  128. VerticalAlignment="Center"
  129. Style="{StaticResource ViewMode_txtContext}"
  130. Text="{Binding T_Book}" />
  131. </Grid>
  132. <Grid Margin="0,8">
  133. <Grid.ColumnDefinitions>
  134. <ColumnDefinition />
  135. <ColumnDefinition />
  136. <ColumnDefinition />
  137. </Grid.ColumnDefinitions>
  138. <Grid.RowDefinitions>
  139. <RowDefinition />
  140. <RowDefinition Height="20" />
  141. </Grid.RowDefinitions>
  142. <RadioButton
  143. Name="RbtnReadMode"
  144. Width="32"
  145. Height="32"
  146. HorizontalAlignment="Center"
  147. VerticalAlignment="Center"
  148. Click="RbtnReadMode_Click"
  149. GroupName="DisplayMode"
  150. Style="{StaticResource GreyBgRadioBtnStyle2}">
  151. <Grid HorizontalAlignment="Center" VerticalAlignment="Center">
  152. <Path
  153. HorizontalAlignment="Center"
  154. 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"
  155. Fill="{Binding ElementName=RbtnReadMode, Path=Foreground}" />
  156. </Grid>
  157. </RadioButton>
  158. <TextBlock
  159. x:Name="ReadModeText"
  160. Grid.Row="1"
  161. HorizontalAlignment="Center"
  162. VerticalAlignment="Center"
  163. Style="{StaticResource ViewMode_txtContext}"
  164. Text="{Binding T_Read}" />
  165. <RadioButton
  166. Name="RBtnFullScreen"
  167. Grid.Column="1"
  168. Width="32"
  169. Height="32"
  170. Command="{Binding OpenFullCommand}"
  171. GroupName="DisplayMode"
  172. IsChecked="{Binding IsFullScreen}"
  173. Style="{StaticResource GreyBgRadioBtnStyle2}">
  174. <Path
  175. HorizontalAlignment="Center"
  176. 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"
  177. Fill="{Binding ElementName=RBtnFullScreen, Path=Foreground}" />
  178. </RadioButton>
  179. <TextBlock
  180. x:Name="FullScreenText"
  181. Grid.Row="1"
  182. Grid.Column="1"
  183. HorizontalAlignment="Center"
  184. VerticalAlignment="Center"
  185. Style="{StaticResource ViewMode_txtContext}"
  186. Text="{Binding T_Full}" />
  187. </Grid>
  188. <!--<Separator
  189. Width="248"
  190. Height="1"
  191. Margin="0,8,0,8"
  192. BorderBrush="{StaticResource Separator.fill}"
  193. BorderThickness="1"
  194. Style="{StaticResource {x:Static ToolBar.SeparatorStyleKey}}" />-->
  195. <CheckBox
  196. Name="chkContinue"
  197. Margin="17,16,0,6"
  198. VerticalContentAlignment="Center"
  199. Command="{Binding ContinueCommand}"
  200. Content="{Binding T_ContinuousScroll}"
  201. FontFamily="Segoe UI"
  202. FontSize="14"
  203. IsChecked="{Binding IsContinue}" />
  204. <CheckBox
  205. Name="chkPagesBreak"
  206. Margin="17,6,0,6"
  207. VerticalContentAlignment="Center"
  208. Command="{Binding PagesBreakCommand}"
  209. Content="{Binding T_PageBreak}"
  210. FontFamily="Segoe UI"
  211. FontSize="14"
  212. IsChecked="{Binding IsPagesBreak}" />
  213. <TextBlock
  214. Name="txtScrollMode"
  215. Margin="0,26,0,14"
  216. Style="{StaticResource PagesView_titleContext}"
  217. Text="Scoll Mode"
  218. Visibility="Collapsed" />
  219. <StackPanel Orientation="Horizontal" Visibility="Collapsed">
  220. <RadioButton
  221. Name="RbtnVertical"
  222. GroupName="ScrollMode"
  223. IsChecked="True"
  224. Style="{StaticResource SplitModeViewRadioBtn}">
  225. <StackPanel Margin="0,0,3,0">
  226. <Grid Margin="0,0,0,8">
  227. <Polygon
  228. HorizontalAlignment="Center"
  229. Fill="{StaticResource MenuIco.fill}"
  230. Points="2 0 2 6 14 6 14 0 15 0 15 7 1 7 1 0" />
  231. <Path
  232. HorizontalAlignment="Center"
  233. 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"
  234. Fill="{StaticResource MenuIco.fill}" />
  235. </Grid>
  236. <TextBlock Style="{StaticResource PagesView_txtContext}" Text="Vertical" />
  237. </StackPanel>
  238. </RadioButton>
  239. <RadioButton
  240. Name="RbtnHorizontal"
  241. Margin="8,0,0,0"
  242. GroupName="ScrollMode"
  243. Style="{StaticResource SplitModeViewRadioBtn}">
  244. <StackPanel Margin="0,0,3,0">
  245. <Grid Margin="0,0,0,8">
  246. <Polygon
  247. HorizontalAlignment="Center"
  248. Fill="{StaticResource MenuIco.fill}"
  249. Points="2 0 2 6 14 6 14 0 15 0 15 7 1 7 1 0" />
  250. <Path
  251. HorizontalAlignment="Center"
  252. 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"
  253. Fill="{StaticResource MenuIco.fill}" />
  254. </Grid>
  255. <TextBlock Style="{StaticResource PagesView_txtContext}" Text="Vertical" />
  256. </StackPanel>
  257. </RadioButton>
  258. </StackPanel>
  259. <TextBlock
  260. Name="txtSplitMode"
  261. Margin="0,26,0,14"
  262. Style="{StaticResource PagesView_titleContext}"
  263. Text="分屏视图"
  264. Visibility="Collapsed" />
  265. <Grid Visibility="Collapsed">
  266. <Grid.RowDefinitions>
  267. <RowDefinition Height="80" />
  268. </Grid.RowDefinitions>
  269. <StackPanel Grid.Row="0" Orientation="Horizontal">
  270. <RadioButton
  271. Name="RbtnDisable"
  272. Command="{Binding DisableCommand}"
  273. GroupName="SplitMode"
  274. IsChecked="True"
  275. Style="{StaticResource ViewModeViewRadioBtn}"
  276. Tag="Disable">
  277. <StackPanel Margin="0,0,3,0">
  278. <Path
  279. Margin="0,0,0,8"
  280. HorizontalAlignment="Center"
  281. 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"
  282. Fill="{StaticResource MenuIco.fill}" />
  283. <TextBlock
  284. x:Name="DisableText"
  285. Style="{StaticResource PagesView_txtContext}"
  286. Text="单屏" />
  287. </StackPanel>
  288. </RadioButton>
  289. <RadioButton
  290. Name="RbtnVerticalSplit"
  291. Margin="4,0,4,0"
  292. Command="{Binding SplitScreenCommand}"
  293. CommandParameter="{Binding ElementName=RbtnVerticalSplit}"
  294. GroupName="SplitMode"
  295. Style="{StaticResource ViewModeViewRadioBtn}"
  296. Tag="VerticalSplit">
  297. <StackPanel Margin="0,0,3,0">
  298. <Path
  299. Margin="0,0,0,8"
  300. HorizontalAlignment="Center"
  301. 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"
  302. Fill="{StaticResource MenuIco.fill}" />
  303. <TextBlock
  304. x:Name="VerticalText"
  305. Style="{StaticResource PagesView_txtContext}"
  306. Text="垂直" />
  307. </StackPanel>
  308. </RadioButton>
  309. <RadioButton
  310. Name="RbtnHorizontalSplit"
  311. Command="{Binding SplitScreenCommand}"
  312. CommandParameter="{Binding ElementName=RbtnHorizontalSplit}"
  313. GroupName="SplitMode"
  314. Style="{StaticResource ViewModeViewRadioBtn}"
  315. Tag="HorizontalSplit">
  316. <StackPanel Margin="0,0,3,0">
  317. <Path
  318. Margin="0,0,0,8"
  319. HorizontalAlignment="Center"
  320. 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"
  321. Fill="{StaticResource MenuIco.fill}" />
  322. <TextBlock
  323. x:Name="HorizontalText"
  324. Style="{StaticResource PagesView_txtContext}"
  325. Text="水平" />
  326. </StackPanel>
  327. </RadioButton>
  328. </StackPanel>
  329. <!--<ContentControl
  330. x:Name="SplitScreenViewContent"
  331. Grid.Row="1"
  332. VerticalAlignment="Stretch"
  333. prism:RegionManager.RegionName="{Binding SplitScreenViewRegionName}"
  334. Visibility="{Binding SplitScreenViewVisible}" />-->
  335. </Grid>
  336. <TextBlock
  337. Name="txtRotate"
  338. Margin="16,26,0,14"
  339. FontSize="12"
  340. Foreground="{StaticResource color.sys.text.neutral.lv2}"
  341. Text="{Binding T_RotateTitle}" />
  342. <StackPanel Margin="15,0,0,0" Orientation="Horizontal">
  343. <Button
  344. x:Name="btnRotateRight"
  345. Width="106"
  346. Height="32"
  347. Click="btnRotateRight_Click"
  348. Style="{StaticResource btn.sec}"
  349. Tag="true">
  350. <StackPanel Orientation="Horizontal">
  351. <Path
  352. Width="16"
  353. Height="16"
  354. 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"
  355. Fill="#616469" />
  356. </StackPanel>
  357. </Button>
  358. <Button
  359. Name="btnRotateLeft"
  360. Width="106"
  361. Height="32"
  362. Margin="10,0,0,0"
  363. Click="btnRotateRight_Click"
  364. Style="{StaticResource btn.sec}"
  365. Tag="false">
  366. <StackPanel Orientation="Horizontal">
  367. <Path
  368. Width="16"
  369. Height="16"
  370. 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"
  371. Fill="#616469" />
  372. </StackPanel>
  373. </Button>
  374. </StackPanel>
  375. <TextBlock
  376. Name="txtThemes"
  377. Margin="0,26,0,14"
  378. Style="{StaticResource PagesView_titleContext}"
  379. Text="主题"
  380. Visibility="Collapsed" />
  381. <!--<local:ThemesContent x:Name="ThemesCtrl" Margin="-4,0,-4,0" />-->
  382. <ContentControl
  383. x:Name="ThemesContent"
  384. VerticalAlignment="Stretch"
  385. prism:RegionManager.RegionName="{Binding ThemesContentName}"
  386. Visibility="Collapsed" />
  387. </StackPanel>
  388. </ScrollViewer>
  389. </UserControl>