SettingsDialog.xaml 57 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845
  1. <UserControl
  2. x:Class="PDF_Master.Views.Dialog.SettingsDialog"
  3. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5. xmlns:compositecontrol="clr-namespace:PDF_Master.CustomControl.CompositeControl"
  6. xmlns:cus="clr-namespace:PDF_Master.CustomControl"
  7. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8. xmlns:dataconvert="clr-namespace:PDF_Master.DataConvert"
  9. xmlns:dialog="clr-namespace:PDF_Master.ViewModels.Dialog"
  10. xmlns:local="clr-namespace:PDF_Master.Views.Dialog"
  11. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12. xmlns:prism="http://prismlibrary.com/"
  13. Width="700"
  14. Height="600"
  15. d:DataContext="{d:DesignInstance Type=dialog:SettingsDialogViewModel}"
  16. d:DesignHeight="800"
  17. d:DesignWidth="700"
  18. prism:Dialog.WindowStyle="{StaticResource DialogWindowStyle}"
  19. prism:ViewModelLocator.AutoWireViewModel="True"
  20. mc:Ignorable="d">
  21. <UserControl.Resources>
  22. <ResourceDictionary>
  23. <ResourceDictionary.MergedDictionaries>
  24. <ResourceDictionary Source="pack://application:,,,/PDF Master;component/Styles/RadioButtonStyle.xaml" />
  25. </ResourceDictionary.MergedDictionaries>
  26. <dataconvert:BoolToBrushConvert x:Key="BoolToBrushConvert" />
  27. <dataconvert:BoolToVisible x:Key="BoolToVisible" />
  28. <dataconvert:UnVisivleConvert x:Key="UnvisibleConvert" />
  29. <PathGeometry x:Key="Ic_GeneralButtonPath" Figures="M7.66072 0L7.55655 0.00779096C7.28392 0.0488956 7.05692 0.249053 6.98638 0.522415L6.43929 2.63786L6.31071 2.69143L4.42927 1.58159C4.1557 1.42025 3.80763 1.46444 3.58306 1.68902L1.68902 3.58306L1.61331 3.67268C1.45661 3.89349 1.44042 4.1899 1.58159 4.42927L2.69143 6.31071L2.63786 6.43929L0.522415 6.98638C0.214883 7.06574 0 7.34311 0 7.66072V10.3393L0.00778641 10.4434C0.0488673 10.716 0.248912 10.9429 0.522164 11.0136L2.63786 11.5607L2.69143 11.6882L1.58159 13.5707C1.42025 13.8443 1.46444 14.1924 1.68902 14.4169L3.58306 16.311L3.67268 16.3867C3.89349 16.5434 4.1899 16.5596 4.42927 16.4184L6.31071 15.3075L6.43821 15.3611L6.98644 17.4778C7.06589 17.7852 7.3432 18 7.66072 18H10.3393L10.4434 17.9922C10.7159 17.9512 10.9428 17.7512 11.0135 17.4781L11.5607 15.3611L11.6882 15.3075L13.5707 16.4184C13.8443 16.5797 14.1924 16.5356 14.4169 16.311L16.311 14.4169L16.3867 14.3273C16.5434 14.1065 16.5596 13.8101 16.4184 13.5707L15.3075 11.6882L15.3611 11.5607L17.4781 11.0135C17.7854 10.934 18 10.6567 18 10.3393V7.66072L17.9922 7.55658C17.9511 7.28402 17.7511 7.05706 17.4778 6.98644L15.3611 6.43821L15.3075 6.31071L16.4184 4.42927C16.5797 4.1557 16.5356 3.80763 16.311 3.58306L14.4169 1.68902L14.3273 1.61331C14.1065 1.45661 13.8101 1.44042 13.5707 1.58159L11.6882 2.69143L11.5596 2.63786L11.0136 0.522259C10.9342 0.214804 10.6568 0 10.3393 0H7.66072ZM8.19954 1.39291H9.79918L10.3025 3.33775C10.3613 3.5652 10.5309 3.74765 10.7534 3.82299C10.982 3.90039 11.2049 3.9929 11.4208 4.09981L11.5291 4.14256C11.7135 4.19809 11.9148 4.17517 12.0836 4.07557L13.8128 3.0547L14.9442 4.18612L13.9244 5.91632C13.8049 6.11897 13.7957 6.36826 13.9001 6.5791C14.0071 6.79504 14.0996 7.01795 14.177 7.24655L14.2156 7.33853C14.3054 7.51531 14.4673 7.64709 14.6623 7.69748L16.607 8.1997V9.79934L14.6617 10.3038C14.4344 10.3626 14.252 10.5321 14.1766 10.7545C14.0993 10.9828 14.0069 11.2054 13.9001 11.421L13.8574 11.5292C13.8019 11.7136 13.8248 11.9149 13.9244 12.0838L14.9442 13.8129L13.8128 14.9443L12.0836 13.9245C11.881 13.805 11.6317 13.7959 11.4208 13.9003C11.2052 14.0071 10.9826 14.0995 10.7543 14.1768L10.6624 14.2155C10.4858 14.3052 10.354 14.467 10.3036 14.6619L9.79918 16.6072H8.19954L7.69733 14.6625C7.63853 14.435 7.46897 14.2525 7.2464 14.1771C7.01779 14.0997 6.79488 14.0072 6.57894 13.9003L6.47071 13.8575C6.2863 13.802 6.08504 13.8249 5.91616 13.9245L4.18597 14.9443L3.05454 13.8129L4.07542 12.0838C4.19493 11.8811 4.20404 11.6318 4.09965 11.421C3.99274 11.2051 3.90023 10.9822 3.82283 10.7536L3.78416 10.6616C3.69441 10.4848 3.53246 10.353 3.33745 10.3026L1.39275 9.79934V8.1997L3.33684 7.69862C3.5645 7.63987 3.74715 7.47022 3.82251 7.2475C3.89998 7.01857 3.99259 6.79534 4.09965 6.5791L4.1424 6.47087C4.19794 6.28646 4.17501 6.0852 4.07542 5.91632L3.05454 4.18612L4.18597 3.0547L5.91616 4.07557C6.11882 4.19508 6.3681 4.2042 6.57894 4.09981C6.79518 3.99275 7.01841 3.90013 7.24734 3.82267L7.33938 3.78399C7.51627 3.69421 7.64811 3.53214 7.69846 3.337L8.19954 1.39291ZM8.9999 5.89291C7.28387 5.89291 5.89275 7.28402 5.89275 9.00005C5.89275 10.7161 7.28387 12.1072 8.9999 12.1072C10.7159 12.1072 12.107 10.7161 12.107 9.00005C12.107 7.28402 10.7159 5.89291 8.9999 5.89291ZM8.99972 7.28578C9.9465 7.28578 10.714 8.0533 10.714 9.00007C10.714 9.94684 9.9465 10.7144 8.99972 10.7144C8.05295 10.7144 7.28544 9.94684 7.28544 9.00007C7.28544 8.0533 8.05295 7.28578 8.99972 7.28578Z" />
  30. <PathGeometry x:Key="Ic_DisplayButtonPath" Figures="M18.998 9.99902C18.998 14.9132 14.922 18.998 9.99902 18.998C5.08485 18.998 1 14.9132 1 9.99902C1 5.07603 5.09367 1 9.99902 1C14.9308 1 18.998 5.07603 18.998 9.99902ZM2.49974 9.99896C2.49092 14.1632 5.83468 17.4981 9.99893 17.4981V2.49977C5.8435 2.49977 2.50857 5.8347 2.49974 9.99896Z" />
  31. <PathGeometry x:Key="Ic_MarkupButtonPath" Figures="M3.5 3H16.5C16.7761 3 17 3.22386 17 3.5V16.5C17 16.7761 16.7761 17 16.5 17H3.5C3.22386 17 3 16.7761 3 16.5V3.5C3 3.22386 3.22386 3 3.5 3ZM1.5 3.5C1.5 2.39543 2.39543 1.5 3.5 1.5H16.5C17.6046 1.5 18.5 2.39543 18.5 3.5V16.5C18.5 17.6046 17.6046 18.5 16.5 18.5H3.5C2.39543 18.5 1.5 17.6046 1.5 16.5V3.5ZM8.06104 14H6.3584L9.04932 6.24951H10.9561L13.6523 14H11.9443L11.3696 12.1201H8.63574L8.06104 14ZM10.0537 7.79639H9.95703L9.00635 10.9062H10.999L10.0537 7.79639Z" />
  32. <PathGeometry x:Key="Ic_InformationButtonPath" Figures="M18 3.5H2C1.72386 3.5 1.5 3.72386 1.5 4V16C1.5 16.2761 1.72386 16.5 2 16.5H18C18.2761 16.5 18.5 16.2761 18.5 16V4C18.5 3.72386 18.2761 3.5 18 3.5ZM2 2C0.895431 2 0 2.89543 0 4V16C0 17.1046 0.895431 18 2 18H18C19.1046 18 20 17.1046 20 16V4C20 2.89543 19.1046 2 18 2H2ZM17 8.6H12V7.4H17V8.6ZM12 11.6H15V10.4H12V11.6ZM6.5 9.8C7.21797 9.8 7.8 9.21797 7.8 8.5C7.8 7.78203 7.21797 7.2 6.5 7.2C5.78203 7.2 5.2 7.78203 5.2 8.5C5.2 9.21797 5.78203 9.8 6.5 9.8ZM7.8529 10.6027C8.54304 10.1577 9 9.38221 9 8.5C9 7.11929 7.88071 6 6.5 6C5.11929 6 4 7.11929 4 8.5C4 9.38221 4.45696 10.1577 5.1471 10.6027C3.58586 11.0832 2.4 12.3743 2.4 14H3.6C3.6 12.758 4.80827 11.6 6.5 11.6C8.19173 11.6 9.4 12.758 9.4 14H10.6C10.6 12.3743 9.41414 11.0832 7.8529 10.6027Z" />
  33. <Style x:Key="Label" TargetType="Label">
  34. <Setter Property="Foreground" Value="{StaticResource color.sys.text.neutral.lv2}" />
  35. <Setter Property="VerticalAlignment" Value="Center" />
  36. <Setter Property="FontSize" Value="12" />
  37. <Setter Property="FontWeight" Value="Bold" />
  38. </Style>
  39. <Style x:Key="Label2" TargetType="Label">
  40. <Setter Property="Foreground" Value="{StaticResource color.sys.text.neutral.lv1}" />
  41. <Setter Property="VerticalAlignment" Value="Center" />
  42. <Setter Property="FontSize" Value="14" />
  43. </Style>
  44. <Style x:Key="RadioButtonStyle1" TargetType="{x:Type RadioButton}">
  45. <Setter Property="FocusVisualStyle" Value="{x:Null}" />
  46. <Setter Property="Background" Value="{StaticResource color.icon.checkbox-radio.norm.bg}" />
  47. <Setter Property="BorderBrush" Value="{StaticResource color.icon.checkbox-radio.norm.border}" />
  48. <Setter Property="Foreground" Value="{StaticResource color.sys.text.neutral.lv1}" />
  49. <Setter Property="BorderThickness" Value="1" />
  50. <Setter Property="Padding" Value="8,0,0,0" />
  51. <Setter Property="FontSize" Value="14" />
  52. <Setter Property="VerticalAlignment" Value="Center" />
  53. <Setter Property="Template">
  54. <Setter.Value>
  55. <ControlTemplate TargetType="{x:Type RadioButton}">
  56. <Grid
  57. x:Name="templateRoot"
  58. Background="Transparent"
  59. SnapsToDevicePixels="True">
  60. <Grid.ColumnDefinitions>
  61. <ColumnDefinition Width="Auto" />
  62. <ColumnDefinition Width="*" />
  63. </Grid.ColumnDefinitions>
  64. <Border
  65. x:Name="radioButtonBorder"
  66. Width="14"
  67. Height="14"
  68. HorizontalAlignment="Center"
  69. VerticalAlignment="Center"
  70. Background="{TemplateBinding Background}"
  71. BorderBrush="{TemplateBinding BorderBrush}"
  72. BorderThickness="{TemplateBinding BorderThickness}"
  73. CornerRadius="100">
  74. <Grid x:Name="markGrid" Margin="1.8">
  75. <Ellipse
  76. x:Name="optionMark"
  77. MinWidth="6"
  78. MinHeight="6"
  79. Fill="{StaticResource color.icon.checkbox-radio.sel.bg}"
  80. Opacity="0" />
  81. </Grid>
  82. </Border>
  83. <ContentPresenter
  84. x:Name="contentPresenter"
  85. Grid.Column="1"
  86. Margin="{TemplateBinding Padding}"
  87. HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
  88. VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
  89. Focusable="False"
  90. RecognizesAccessKey="True"
  91. SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
  92. </Grid>
  93. <ControlTemplate.Triggers>
  94. <Trigger Property="IsMouseOver" Value="true">
  95. <Setter TargetName="radioButtonBorder" Property="BorderBrush" Value="{StaticResource color.icon.checkbox-radio.hov.border}" />
  96. </Trigger>
  97. <Trigger Property="IsEnabled" Value="false">
  98. <Setter TargetName="radioButtonBorder" Property="Background" Value="{StaticResource color.icon.checkbox-radio.dis.bg}" />
  99. <Setter TargetName="radioButtonBorder" Property="BorderBrush" Value="{StaticResource color.icon.checkbox-radio.dis.border}" />
  100. <Setter TargetName="optionMark" Property="Fill" Value="{StaticResource color.icon.checkbox-radio.dis.fill}" />
  101. </Trigger>
  102. <Trigger Property="IsChecked" Value="true">
  103. <Setter TargetName="optionMark" Property="Opacity" Value="1" />
  104. <Setter TargetName="radioButtonBorder" Property="BorderBrush" Value="{StaticResource color.icon.checkbox-radio.hov.border}" />
  105. </Trigger>
  106. <Trigger Property="IsChecked" Value="{x:Null}">
  107. <Setter TargetName="optionMark" Property="Opacity" Value="0.56" />
  108. </Trigger>
  109. </ControlTemplate.Triggers>
  110. </ControlTemplate>
  111. </Setter.Value>
  112. </Setter>
  113. </Style>
  114. </ResourceDictionary>
  115. </UserControl.Resources>
  116. <Grid Background="{StaticResource color.sys.layout.mg}">
  117. <Grid.RowDefinitions>
  118. <RowDefinition Height="40" />
  119. <RowDefinition />
  120. </Grid.RowDefinitions>
  121. <TabControl
  122. Grid.Row="1"
  123. BorderThickness="0"
  124. SelectedIndex="{Binding ModeSelectedIndex, Mode=OneWayToSource, UpdateSourceTrigger=PropertyChanged}"
  125. TabStripPlacement="Left">
  126. <TabItem x:Name="TabItemGeneral" Style="{StaticResource InfoTabItem}">
  127. <TabItem.Header>
  128. <StackPanel VerticalAlignment="Center" Orientation="Horizontal">
  129. <Path
  130. Margin="0,0,8,0"
  131. Data="{StaticResource Ic_GeneralButtonPath}"
  132. Fill="{Binding ElementName=TabItemGeneral, Path=IsSelected, Converter={StaticResource BoolToBrushConvert}}" />
  133. <TextBlock
  134. VerticalAlignment="Center"
  135. Foreground="{Binding ElementName=TabItemGeneral, Path=IsSelected, Converter={StaticResource BoolToBrushConvert}}"
  136. Text="{Binding Settings_General}" />
  137. </StackPanel>
  138. </TabItem.Header>
  139. <ScrollViewer Margin="0,0,0,80" VerticalScrollBarVisibility="Auto">
  140. <StackPanel Margin="16,10,10,0">
  141. <Label Content="{Binding Settings_General_Documents}" Style="{StaticResource Label}" />
  142. <Border
  143. Margin="0,10,0,16"
  144. Background="{StaticResource color.sys.layout.mg}"
  145. CornerRadius="6">
  146. <StackPanel>
  147. <CheckBox
  148. Margin="8"
  149. Content="{Binding Settings_General_Open}"
  150. Foreground="{StaticResource color.sys.text.neutral.lv1}"
  151. IsChecked="{Binding Descript.OpenUnClosedFileWhenOpen, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
  152. <CheckBox
  153. Margin="8,0,8,0"
  154. Content="{Binding Settings_General_Restore}"
  155. Foreground="{StaticResource color.sys.text.neutral.lv1}"
  156. IsChecked="{Binding Descript.RecoveryViewWhenOpen, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
  157. <Label
  158. Margin="8"
  159. Content="{Binding Settings_General_Maximum}"
  160. Style="{StaticResource Label2}" />
  161. <StackPanel Margin="8,0,8,8" Orientation="Horizontal">
  162. <cus:NumericUpDown
  163. Width="120"
  164. HorizontalAlignment="Left"
  165. BorderThickness="0"
  166. FontSize="14"
  167. Foreground="{StaticResource color.field.text.act}"
  168. Maximum="50"
  169. Minimum="10"
  170. Value="{Binding Descript.FileCountInRecentFiles, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
  171. <TextBlock
  172. Margin="8,0"
  173. VerticalAlignment="Center"
  174. Foreground="{StaticResource color.sys.text.neutral.lv3}"
  175. Text="10 to 50" />
  176. </StackPanel>
  177. <Rectangle
  178. Width="446"
  179. Height="1"
  180. Fill="{StaticResource color.sys.layout.divider}" />
  181. <StackPanel Margin="8" Orientation="Horizontal">
  182. <CheckBox
  183. Name="ChkAutoSave"
  184. Content="{Binding Settings_General_Auto}"
  185. Foreground="{StaticResource color.sys.text.neutral.lv1}"
  186. IsChecked="{Binding Descript.AutoSave, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
  187. <cus:NumericUpDown
  188. Width="120"
  189. Margin="8,0,0,0"
  190. HorizontalAlignment="Left"
  191. BorderThickness="0"
  192. FontSize="14"
  193. Foreground="{StaticResource color.field.text.act}"
  194. IsEnabled="{Binding ElementName=ChkAutoSave, Path=IsChecked}"
  195. Maximum="99"
  196. Minimum="5"
  197. Value="{Binding Descript.AutoSaveInterval, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
  198. <Label
  199. Margin="8,0,0,0"
  200. Content="min"
  201. Style="{StaticResource Label}" />
  202. <TextBlock
  203. Margin="8,0"
  204. VerticalAlignment="Center"
  205. Foreground="{StaticResource color.sys.text.neutral.lv3}"
  206. Text="5 to 99" />
  207. </StackPanel>
  208. <Grid Margin="8,0,0,8">
  209. <Grid.ColumnDefinitions>
  210. <ColumnDefinition Width="auto" />
  211. <ColumnDefinition />
  212. </Grid.ColumnDefinitions>
  213. <Grid.RowDefinitions>
  214. <RowDefinition />
  215. <RowDefinition />
  216. </Grid.RowDefinitions>
  217. <Label
  218. Grid.Row="0"
  219. Grid.Column="0"
  220. Content="{Binding Settings_General_Close}"
  221. Style="{StaticResource Label2}" />
  222. <RadioButton
  223. Grid.Row="0"
  224. Grid.Column="1"
  225. Content="{Binding Settings_General_ASave}"
  226. IsChecked="{Binding Descript.ShowSaveWhenClose, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
  227. Style="{DynamicResource RadioButtonStyle1}" />
  228. <RadioButton
  229. Grid.Row="1"
  230. Grid.Column="1"
  231. Margin="0,8"
  232. Content="{Binding Settings_General_Savedirectly}"
  233. IsChecked="{Binding Descript.NotShowSaveWhenClose, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
  234. Style="{DynamicResource RadioButtonStyle1}" />
  235. </Grid>
  236. </StackPanel>
  237. </Border>
  238. <Grid Visibility="Collapsed">
  239. <Label Content="打开图片文档" Style="{StaticResource Label}" />
  240. <Border
  241. Margin="0,10,0,18"
  242. Background="{StaticResource color.sys.layout.mg}"
  243. CornerRadius="6">
  244. <StackPanel>
  245. <RadioButton
  246. Margin="9,12,0,0"
  247. Content="自动扫描并识别文本"
  248. IsChecked="{Binding Descript.AutoScanImageFile, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
  249. Style="{DynamicResource RadioButtonStyle1}" />
  250. <RadioButton
  251. Grid.Row="1"
  252. Margin="9,10"
  253. Content="提示扫描并识别文本"
  254. IsChecked="{Binding Descript.TipScanImageFile, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
  255. Style="{DynamicResource RadioButtonStyle1}" />
  256. </StackPanel>
  257. </Border>
  258. </Grid>
  259. <WrapPanel>
  260. <Label
  261. Margin="1,0"
  262. Content="{Binding Settings_General_Author}"
  263. Style="{StaticResource Label2}" />
  264. <cus:TextBoxEx
  265. Width="224"
  266. VerticalAlignment="Center"
  267. Foreground="{StaticResource color.field.text.act}"
  268. Text="{Binding Descript.Author, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
  269. </WrapPanel>
  270. <CheckBox
  271. Name="CheckBoxDefaultPDF"
  272. Margin="8,16"
  273. Content="设置为默认PDF阅读器(需要管理员权限)"
  274. Foreground="{StaticResource color.sys.text.neutral.lv1}"
  275. IsChecked="{Binding IsDefualtApp, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
  276. IsEnabled="{Binding IsSetDefualtAppEnable}"
  277. Visibility="Collapsed" />
  278. </StackPanel>
  279. </ScrollViewer>
  280. </TabItem>
  281. <TabItem x:Name="TabItemDisplay" Style="{StaticResource InfoTabItem}">
  282. <TabItem.Header>
  283. <StackPanel VerticalAlignment="Center" Orientation="Horizontal">
  284. <Path
  285. Margin="0,0,8,0"
  286. Data="{StaticResource Ic_DisplayButtonPath}"
  287. Fill="{Binding ElementName=TabItemDisplay, Path=IsSelected, Converter={StaticResource BoolToBrushConvert}}" />
  288. <TextBlock
  289. VerticalAlignment="Center"
  290. Foreground="{Binding ElementName=TabItemDisplay, Path=IsSelected, Converter={StaticResource BoolToBrushConvert}}"
  291. Text="{Binding Settings_Display}" />
  292. </StackPanel>
  293. </TabItem.Header>
  294. <ScrollViewer Margin="0,0,0,80" VerticalScrollBarVisibility="Auto">
  295. <StackPanel Margin="16,10,10,0" Background="{StaticResource color.sys.layout.anti}">
  296. <Label Content="{Binding Settings_Display_DefaultV}" Style="{StaticResource Label}" />
  297. <Border
  298. Margin="0,10,0,16"
  299. Background="{StaticResource color.sys.layout.mg}"
  300. CornerRadius="6">
  301. <Grid>
  302. <Grid.RowDefinitions>
  303. <RowDefinition />
  304. <RowDefinition />
  305. </Grid.RowDefinitions>
  306. <WrapPanel Margin="0,12,0,0">
  307. <Label
  308. Margin="8,0"
  309. Content="{Binding Settings_Display_Page}"
  310. Style="{StaticResource Label2}" />
  311. <ComboBox
  312. Width="348"
  313. Height="30"
  314. ItemsSource="{Binding PageViewList}"
  315. SelectedIndex="{Binding PageViewSelctedIndex, Mode=TwoWay}" />
  316. </WrapPanel>
  317. <WrapPanel Grid.Row="1" Margin="0,12">
  318. <Label
  319. Margin="8,0"
  320. Content="{Binding Settings_Display_Zoom}"
  321. Style="{StaticResource Label2}" />
  322. <ComboBox
  323. Width="348"
  324. Height="30"
  325. ItemsSource="{Binding ZoomModeList}"
  326. SelectedIndex="{Binding ZoomModeSelectedIndex, Mode=TwoWay}" />
  327. </WrapPanel>
  328. </Grid>
  329. </Border>
  330. <Label Content="{Binding Settings_Display_LeftPanel}" Style="{StaticResource Label}" />
  331. <Border
  332. Margin="0,8,0,16"
  333. Background="{StaticResource color.sys.layout.mg}"
  334. CornerRadius="6">
  335. <StackPanel>
  336. <Label
  337. Margin="8,8,0,0"
  338. Content="{Binding Settings_Display_Default}"
  339. Style="{StaticResource Label2}" />
  340. <RadioButton
  341. Margin="8,8,0,0"
  342. Content="{Binding Settings_Display_Collapse}"
  343. IsChecked="{Binding View.NotShowBOTA, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
  344. Style="{DynamicResource RadioButtonStyle1}" />
  345. <RadioButton
  346. Margin="8,8,0,0"
  347. Content="{Binding Settings_Display_Remember}"
  348. IsChecked="{Binding View.RememberBOTA, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
  349. Style="{DynamicResource RadioButtonStyle1}" />
  350. <RadioButton
  351. Margin="8,8,0,8"
  352. Content="{Binding Settings_Display_Show}"
  353. Foreground="{StaticResource color.sys.text.neutral.lv1}"
  354. IsChecked="{Binding View.ShowOutLine, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
  355. Style="{DynamicResource RadioButtonStyle1}" />
  356. </StackPanel>
  357. </Border>
  358. <Label Content="{Binding Settings_Display_Properties}" Style="{StaticResource Label}" />
  359. <Border
  360. Margin="0,8,0,16"
  361. Background="{StaticResource color.sys.layout.mg}"
  362. CornerRadius="6">
  363. <WrapPanel>
  364. <Label
  365. Margin="8,8,16,8"
  366. Content="{Binding Settings_Display_Display}"
  367. Style="{StaticResource Label2}" />
  368. <RadioButton
  369. Content="{Binding Settings_Display_Auto}"
  370. IsChecked="{Binding View.AutoExpandProperty}"
  371. Style="{DynamicResource RadioButtonStyle1}" />
  372. <RadioButton
  373. Margin="8,8,0,8"
  374. Content="{Binding Settings_Display_Manually}"
  375. IsChecked="{Binding View.ClickOpenProperty}"
  376. Style="{DynamicResource RadioButtonStyle1}" />
  377. </WrapPanel>
  378. </Border>
  379. <Label Content="{Binding Settings_Display_Background}" Style="{StaticResource Label}" />
  380. <WrapPanel Margin="0,8,0,16">
  381. <Label Content="{Binding Settings_Display_Normal}" Style="{StaticResource Label2}" />
  382. <compositecontrol:ColorContent SelectedColor="{Binding View.BackGround, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" ShowColorList="Collapsed" />
  383. <Label
  384. Margin="16,0,0,0"
  385. Content="{Binding Settings_Display_Full}"
  386. Style="{StaticResource Label}" />
  387. <compositecontrol:ColorContent SelectedColor="{Binding View.BackGroundInFulWindow, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" ShowColorList="Collapsed" />
  388. </WrapPanel>
  389. <!--<CheckBox
  390. Margin="5,0,0,8"
  391. Content="高亮表单"
  392. Foreground="{StaticResource color.sys.text.neutral.lv1}"
  393. IsChecked="{Binding View.HignlightForm, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
  394. -->
  395. <!-- 域高亮色 -->
  396. <!--
  397. <WrapPanel>
  398. <Label Content="域高亮色:" Style="{StaticResource Label2}" />
  399. <compositecontrol:ColorContent SelectedColor="{Binding View.FormHighLightColor, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" ShowColorList="Collapsed" />
  400. </WrapPanel>
  401. <WrapPanel>
  402. <Label Content="必填栏高亮色:" Style="{StaticResource Label2}" />
  403. <compositecontrol:ColorContent SelectedColor="{Binding View.RequiredFieldsColor, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" ShowColorList="Collapsed" />
  404. </WrapPanel>-->
  405. <CheckBox
  406. Margin="5,0,0,8"
  407. Content="{Binding Settings_Display_Highlight}"
  408. Foreground="{StaticResource color.sys.text.neutral.lv1}"
  409. IsChecked="{Binding View.HighlightLink, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
  410. </StackPanel>
  411. </ScrollViewer>
  412. </TabItem>
  413. <TabItem x:Name="TabItemMarkup" Style="{StaticResource InfoTabItem}">
  414. <TabItem.Header>
  415. <StackPanel VerticalAlignment="Center" Orientation="Horizontal">
  416. <Path
  417. Margin="0,0,8,0"
  418. Data="{StaticResource Ic_MarkupButtonPath}"
  419. Fill="{Binding ElementName=TabItemMarkup, Path=IsSelected, Converter={StaticResource BoolToBrushConvert}}" />
  420. <TextBlock
  421. VerticalAlignment="Center"
  422. Foreground="{Binding ElementName=TabItemMarkup, Path=IsSelected, Converter={StaticResource BoolToBrushConvert}}"
  423. Text="{Binding Settings_Annotation}" />
  424. </StackPanel>
  425. </TabItem.Header>
  426. <ScrollViewer Margin="0,0,0,80" VerticalScrollBarVisibility="Auto">
  427. <StackPanel Margin="16,10,10,0">
  428. <Label Content="{Binding Settings_Annotation_Annotation}" Style="{StaticResource Label}" />
  429. <Border
  430. Margin="0,8,0,16"
  431. Background="{StaticResource color.sys.layout.mg}"
  432. CornerRadius="6">
  433. <Grid Margin="8,4,8,4">
  434. <Grid.ColumnDefinitions>
  435. <ColumnDefinition Width="148" />
  436. <ColumnDefinition Width="88" />
  437. <ColumnDefinition Width="*" />
  438. <ColumnDefinition Width="56" />
  439. </Grid.ColumnDefinitions>
  440. <Grid.RowDefinitions>
  441. <RowDefinition />
  442. <RowDefinition />
  443. <RowDefinition />
  444. <RowDefinition />
  445. <RowDefinition />
  446. <RowDefinition />
  447. </Grid.RowDefinitions>
  448. <Label Content="{Binding Settings_Annotation_Highlight}" Style="{StaticResource Label2}" />
  449. <compositecontrol:ColorContent
  450. Grid.Column="1"
  451. Height="40"
  452. HorizontalAlignment="Left"
  453. SelectedColor="{Binding Annote.HighLightColor, Mode=TwoWay}"
  454. ShowColorList="Collapsed" />
  455. <Label
  456. Grid.Column="2"
  457. Content="{Binding Settings_Annotation_RectangleFill}"
  458. Style="{StaticResource Label2}" />
  459. <compositecontrol:ColorContent
  460. Grid.Column="3"
  461. Height="40"
  462. SelectedColor="{Binding Annote.RectangleFillColor, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
  463. ShowColorList="Collapsed" />
  464. <Label
  465. Grid.Row="1"
  466. Content="{Binding Settings_Annotation_Strikethrough}"
  467. Style="{StaticResource Label2}" />
  468. <compositecontrol:ColorContent
  469. Grid.Row="1"
  470. Grid.Column="1"
  471. Height="40"
  472. HorizontalAlignment="Left"
  473. SelectedColor="{Binding Annote.StrikethroughColor, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
  474. ShowColorList="Collapsed" />
  475. <Label
  476. Grid.Row="1"
  477. Grid.Column="2"
  478. Content="{Binding Settings_Annotation_RectangleBorder}"
  479. Style="{StaticResource Label2}" />
  480. <compositecontrol:ColorContent
  481. Grid.Row="1"
  482. Grid.Column="3"
  483. Height="40"
  484. SelectedColor="{Binding Annote.RectangleBorderColor, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
  485. ShowColorList="Collapsed" />
  486. <Label
  487. Grid.Row="2"
  488. Content="{Binding Settings_Annotation_Underline}"
  489. Style="{StaticResource Label2}" />
  490. <compositecontrol:ColorContent
  491. Grid.Row="2"
  492. Grid.Column="1"
  493. Height="40"
  494. HorizontalAlignment="Left"
  495. SelectedColor="{Binding Annote.UnderLineColor, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
  496. ShowColorList="Collapsed" />
  497. <Label
  498. Grid.Row="2"
  499. Grid.Column="2"
  500. Content="{Binding Settings_Annotation_CircleFill}"
  501. Style="{StaticResource Label2}" />
  502. <compositecontrol:ColorContent
  503. Grid.Row="2"
  504. Grid.Column="3"
  505. Height="40"
  506. SelectedColor="{Binding Annote.CircleFillColor, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
  507. ShowColorList="Collapsed" />
  508. <Label
  509. Grid.Row="3"
  510. Content="{Binding Settings_Annotation_Freehand}"
  511. Style="{StaticResource Label2}" />
  512. <compositecontrol:ColorContent
  513. Grid.Row="3"
  514. Grid.Column="1"
  515. Height="40"
  516. HorizontalAlignment="Left"
  517. SelectedColor="{Binding Annote.FreeHandColor, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
  518. ShowColorList="Collapsed" />
  519. <Label
  520. Grid.Row="3"
  521. Grid.Column="2"
  522. Content="{Binding Settings_Annotation_CircleBorder}"
  523. Style="{StaticResource Label2}" />
  524. <compositecontrol:ColorContent
  525. Grid.Row="3"
  526. Grid.Column="3"
  527. Height="40"
  528. SelectedColor="{Binding Annote.CircleBorderColor, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
  529. ShowColorList="Collapsed" />
  530. <Label
  531. Grid.Row="4"
  532. Content="{Binding Settings_Annotation_TextBox}"
  533. Style="{StaticResource Label2}" />
  534. <compositecontrol:ColorContent
  535. Grid.Row="4"
  536. Grid.Column="1"
  537. Height="40"
  538. HorizontalAlignment="Left"
  539. SelectedColor="{Binding Annote.TextAnnoteColor, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
  540. ShowColorList="Collapsed" />
  541. <Label
  542. Grid.Row="4"
  543. Grid.Column="2"
  544. Content="{Binding Settings_Annotation_Line}"
  545. Style="{StaticResource Label2}" />
  546. <compositecontrol:ColorContent
  547. Grid.Row="4"
  548. Grid.Column="3"
  549. Height="40"
  550. SelectedColor="{Binding Annote.LineColor, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
  551. ShowColorList="Collapsed" />
  552. <Label
  553. Grid.Row="5"
  554. Content="{Binding Settings_Annotation_StickyNote}"
  555. Style="{StaticResource Label2}" />
  556. <compositecontrol:ColorContent
  557. Grid.Row="5"
  558. Grid.Column="1"
  559. Height="40"
  560. HorizontalAlignment="Left"
  561. SelectedColor="{Binding Annote.NoteAnnoteColor, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
  562. ShowColorList="Collapsed" />
  563. <Label
  564. Grid.Row="5"
  565. Grid.Column="2"
  566. Content="Arrow:"
  567. Style="{StaticResource Label2}" />
  568. <compositecontrol:ColorContent
  569. Grid.Row="5"
  570. Grid.Column="4"
  571. Height="40"
  572. HorizontalAlignment="Left"
  573. SelectedColor="{Binding Annote.ArrowColor, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
  574. ShowColorList="Collapsed" />
  575. </Grid>
  576. </Border>
  577. <Label Content="注释默认字体" Style="{StaticResource Label}" />
  578. <Border
  579. Margin="0,2,0,0"
  580. Background="{StaticResource color.sys.layout.mg}"
  581. CornerRadius="6">
  582. <WrapPanel>
  583. <WrapPanel>
  584. <Label Content="{Binding Settings_Annotation_Text}" Style="{StaticResource Label2}" />
  585. <ComboBox
  586. Width="228"
  587. Height="30"
  588. ItemsSource="{Binding AnnoteFamilyList}"
  589. SelectedIndex="{Binding AnnoteSelectedIndex}" />
  590. <RadioButton
  591. Name="RbtLeft"
  592. Width="32"
  593. Height="32"
  594. Margin="8,8,0,8"
  595. HorizontalAlignment="Center"
  596. VerticalAlignment="Center"
  597. IsChecked="{Binding LeftSelected}"
  598. Style="{StaticResource GreyBgRadioBtnStyle}">
  599. <Grid Width="32" Height="32">
  600. <Canvas Margin="5,10,0,0">
  601. <Rectangle
  602. Canvas.Top="0.25"
  603. Width="14"
  604. Height="1.5"
  605. Stroke="{Binding ElementName=RbtLeft, Path=Foreground}"
  606. StrokeThickness="1.5" />
  607. <Rectangle
  608. Canvas.Top="4.25"
  609. Width="8"
  610. Height="1.5"
  611. Stroke="{Binding ElementName=RbtLeft, Path=Foreground}"
  612. StrokeThickness="1.5" />
  613. <Rectangle
  614. Canvas.Top="12.25"
  615. Width="8"
  616. Height="1.5"
  617. Stroke="{Binding ElementName=RbtLeft, Path=Foreground}"
  618. StrokeThickness="1.5" />
  619. <Rectangle
  620. Canvas.Top="8.25"
  621. Width="14"
  622. Height="1.5"
  623. Stroke="{Binding ElementName=RbtLeft, Path=Foreground}"
  624. StrokeThickness="1.5" />
  625. </Canvas>
  626. </Grid>
  627. </RadioButton>
  628. <RadioButton
  629. Name="RbtCenter"
  630. Width="32"
  631. Height="32"
  632. Margin="8"
  633. HorizontalAlignment="Center"
  634. VerticalAlignment="Center"
  635. IsChecked="{Binding CenterSelected}"
  636. Style="{StaticResource GreyBgRadioBtnStyle}">
  637. <Grid Width="32" Height="32">
  638. <Canvas Margin="5,10,0,0">
  639. <Rectangle
  640. Canvas.Top="0.25"
  641. Width="14"
  642. Height="1.5"
  643. Stroke="{Binding ElementName=RbtCenter, Path=Foreground}"
  644. StrokeThickness="1.5" />
  645. <Rectangle
  646. Canvas.Left="3"
  647. Canvas.Top="4.25"
  648. Width="8"
  649. Height="1.5"
  650. Stroke="{Binding ElementName=RbtCenter, Path=Foreground}"
  651. StrokeThickness="1.5" />
  652. <Rectangle
  653. Canvas.Left="3"
  654. Canvas.Top="12.25"
  655. Width="8"
  656. Height="1.5"
  657. Stroke="{Binding ElementName=RbtCenter, Path=Foreground}"
  658. StrokeThickness="1.5" />
  659. <Rectangle
  660. Canvas.Top="8.25"
  661. Width="14"
  662. Height="1.5"
  663. Stroke="{Binding ElementName=RbtCenter, Path=Foreground}"
  664. StrokeThickness="1.5" />
  665. </Canvas>
  666. </Grid>
  667. </RadioButton>
  668. <RadioButton
  669. Name="RbtRight"
  670. Width="32"
  671. Height="32"
  672. Margin="0,8,8,8"
  673. HorizontalAlignment="Center"
  674. VerticalAlignment="Center"
  675. IsChecked="{Binding RightSelected}"
  676. Style="{StaticResource GreyBgRadioBtnStyle}">
  677. <Grid Width="32" Height="32">
  678. <Canvas Margin="5,10,0,0">
  679. <Rectangle
  680. Canvas.Top="0.25"
  681. Width="14"
  682. Height="1.5"
  683. Stroke="{Binding ElementName=RbtRight, Path=Foreground}"
  684. StrokeThickness="1.5" />
  685. <Rectangle
  686. Canvas.Left="6"
  687. Canvas.Top="4.25"
  688. Width="8"
  689. Height="1.5"
  690. Stroke="{Binding ElementName=RbtRight, Path=Foreground}"
  691. StrokeThickness="1.5" />
  692. <Rectangle
  693. Canvas.Left="6"
  694. Canvas.Top="12.25"
  695. Width="8"
  696. Height="1.5"
  697. Stroke="{Binding ElementName=RbtRight, Path=Foreground}"
  698. StrokeThickness="1.5" />
  699. <Rectangle
  700. Canvas.Top="8.25"
  701. Width="14"
  702. Height="1.5"
  703. Stroke="{Binding ElementName=RbtRight, Path=Foreground}"
  704. StrokeThickness="1.5" />
  705. </Canvas>
  706. </Grid>
  707. </RadioButton>
  708. <RadioButton
  709. Name="RbtnStrech"
  710. Width="32"
  711. Height="32"
  712. HorizontalAlignment="Center"
  713. VerticalAlignment="Center"
  714. IsChecked="{Binding StrechSelected}"
  715. Style="{StaticResource GreyBgRadioBtnStyle}"
  716. Visibility="Collapsed">
  717. <Grid Width="32" Height="32">
  718. <Canvas Margin="5,10,0,0">
  719. <Rectangle
  720. Canvas.Top="0.25"
  721. Width="14"
  722. Height="1.5"
  723. Stroke="{Binding ElementName=RbtnStrech, Path=Foreground}"
  724. StrokeThickness="1.5" />
  725. <Rectangle
  726. Canvas.Top="8.25"
  727. Width="14"
  728. Height="1.5"
  729. Stroke="{Binding ElementName=RbtnStrech, Path=Foreground}"
  730. StrokeThickness="1.5" />
  731. <Rectangle
  732. Canvas.Top="4.25"
  733. Width="14"
  734. Height="1.5"
  735. Stroke="{Binding ElementName=RbtnStrech, Path=Foreground}"
  736. StrokeThickness="1.5" />
  737. <Rectangle
  738. Canvas.Top="12.25"
  739. Width="14"
  740. Height="1.5"
  741. Stroke="{Binding ElementName=RbtnStrech, Path=Foreground}"
  742. StrokeThickness="1.5" />
  743. </Canvas>
  744. </Grid>
  745. </RadioButton>
  746. </WrapPanel>
  747. <WrapPanel Margin="0,0,0,8">
  748. <Label Content="{Binding Settings_Annotation_StickyNote}" Style="{StaticResource Label2}" />
  749. <ComboBox
  750. Width="228"
  751. Height="30"
  752. ItemsSource="{Binding AnnoteFamilyList}"
  753. SelectedIndex="{Binding NoteSelectedIndex, Mode=TwoWay}" />
  754. </WrapPanel>
  755. </WrapPanel>
  756. </Border>
  757. </StackPanel>
  758. </ScrollViewer>
  759. </TabItem>
  760. <TabItem
  761. x:Name="TabItemInformation"
  762. Style="{StaticResource InfoTabItem}"
  763. Visibility="Collapsed">
  764. <TabItem.Header>
  765. <StackPanel VerticalAlignment="Center" Orientation="Horizontal">
  766. <Path
  767. Margin="0,0,8,0"
  768. Data="{StaticResource Ic_InformationButtonPath}"
  769. Fill="{Binding ElementName=TabItemInformation, Path=IsSelected, Converter={StaticResource BoolToBrushConvert}}" />
  770. <TextBlock
  771. VerticalAlignment="Center"
  772. Foreground="{Binding ElementName=TabItemInformation, Path=IsSelected, Converter={StaticResource BoolToBrushConvert}}"
  773. Text="Information" />
  774. </StackPanel>
  775. </TabItem.Header>
  776. <StackPanel Background="#f1ef9f">
  777. <Label Content="Content goes here2..." />
  778. <Label Content="Content goes here2..." />
  779. <Button
  780. Width="150"
  781. Height="35"
  782. Content="Security" />
  783. </StackPanel>
  784. </TabItem>
  785. </TabControl>
  786. <WrapPanel
  787. Grid.Row="1"
  788. Width="494"
  789. HorizontalAlignment="Right"
  790. VerticalAlignment="Bottom"
  791. Background="{StaticResource color.sys.layout.anti}">
  792. <Button
  793. Width="120"
  794. Height="32"
  795. Margin="16,24"
  796. Command="{Binding ResetCommand}"
  797. Content="{Binding Settings_ResetAll}"
  798. FontSize="14"
  799. Style="{StaticResource btn.sec}" />
  800. <Button
  801. Width="120"
  802. Height="32"
  803. Command="{Binding ResetAllCommand}"
  804. Content="{Binding Settings_Reset}"
  805. FontSize="14"
  806. Style="{StaticResource btn.sec}" />
  807. </WrapPanel>
  808. <Grid VerticalAlignment="Top" Background="{StaticResource color.sys.layout.bg.tabbar}">
  809. <TextBlock
  810. Width="550"
  811. Margin="16,6"
  812. HorizontalAlignment="Left"
  813. VerticalAlignment="Center"
  814. FontFamily="Segoe UI"
  815. FontSize="16"
  816. FontWeight="Bold"
  817. Foreground="{StaticResource color.sys.text.neutral.lv1}"
  818. Text="{Binding Settings_Preferences}" />
  819. <StackPanel
  820. Name="StkPnlRight"
  821. HorizontalAlignment="Right"
  822. Orientation="Horizontal"
  823. WindowChrome.IsHitTestVisibleInChrome="True">
  824. <Button
  825. Name="BtnClose"
  826. Width="40"
  827. Height="40"
  828. Background="Transparent"
  829. BorderThickness="0"
  830. Click="BtnClose_Click"
  831. Style="{StaticResource CloseBtn}">
  832. <Polygon Fill="{StaticResource color.btn.sec.text.def}" Points="11.2919922 12 12 11.2919922 6.70800781 6 12 0.708007813 11.2919922 0 6 5.29199219 0.708007812 9.76996262e-15 -2.27456942e-13 0.708007813 5.29199219 6 0 11.2919922 0.708007812 12 6 6.70800781" />
  833. </Button>
  834. </StackPanel>
  835. </Grid>
  836. </Grid>
  837. </UserControl>