ButtonProperty.xaml 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422
  1. <UserControl x:Class="PDF_Master.Views.Form.ButtonProperty"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:PDF_Master.Views.Form"
  7. xmlns:prism="http://prismlibrary.com/"
  8. prism:ViewModelLocator.AutoWireViewModel="True"
  9. xmlns:CompositeControl="clr-namespace:PDF_Master.CustomControl.CompositeControl"
  10. xmlns:i="http://schemas.microsoft.com/xaml/behaviors"
  11. xmlns:cus="clr-namespace:PDF_Master.CustomControl"
  12. xmlns:convert="clr-namespace:PDF_Master.DataConvert"
  13. xmlns:form="clr-namespace:PDF_Master.CustomControl.Form"
  14. mc:Ignorable="d"
  15. d:DesignHeight="450" d:DesignWidth="800">
  16. <UserControl.Resources>
  17. <ResourceDictionary>
  18. <ResourceDictionary.MergedDictionaries>
  19. <ResourceDictionary Source="../../Styles/ListViewStyle.xaml" />
  20. <ResourceDictionary Source="../../Styles/SliderStyle.xaml"/>
  21. </ResourceDictionary.MergedDictionaries>
  22. <convert:InvertBoolConvert x:Key="InvertBoolConvert" />
  23. <Style TargetType="{x:Type TabItem}">
  24. <Setter Property="Width" Value="74.67 " />
  25. <Setter Property="Height" Value="28" />
  26. <Setter Property="BorderThickness" Value="0" />
  27. <Setter Property="Template" Value="{DynamicResource Segmented}" />
  28. </Style>
  29. <Style TargetType="{x:Type Path}">
  30. <Setter Property="Width" Value="16" />
  31. <Setter Property="Height" Value="16" />
  32. <Setter Property="Fill" Value="{StaticResource color.icon.base.neutral.norm.lv1}" />
  33. </Style>
  34. <DataTemplate x:Key="ContentColorTemplate">
  35. <Grid Width="84" Height="24">
  36. <Rectangle Stroke="Red" StrokeThickness="1"/>
  37. <TextBlock Text="Text"/>
  38. </Grid>
  39. </DataTemplate>
  40. <ContextMenu x:Key="ColorBtnFlyoutMenu" FontSize="14">
  41. <ContextMenu.ItemContainerStyle>
  42. <Style TargetType="MenuItem">
  43. <Setter Property="Padding" Value="0,7,0,7" />
  44. <Setter Property="VerticalContentAlignment" Value="Center" />
  45. </Style>
  46. </ContextMenu.ItemContainerStyle>
  47. <MenuItem
  48. Name="EditMenuItem"
  49. Click="EditMenuItem_Click"
  50. Header="Edit"
  51. IsEnabled="True" />
  52. </ContextMenu>
  53. </ResourceDictionary>
  54. </UserControl.Resources>
  55. <Grid ScrollViewer.VerticalScrollBarVisibility="Auto">
  56. <Grid.RowDefinitions>
  57. <RowDefinition Height="auto" />
  58. <RowDefinition Height="*" />
  59. <RowDefinition Height="auto" />
  60. </Grid.RowDefinitions>
  61. <TextBlock
  62. Margin="16,14"
  63. FontFamily="Segoe UI"
  64. FontSize="14"
  65. FontWeight="SemiBold"
  66. Text="Button" />
  67. <TabControl
  68. Grid.Row="1"
  69. Margin="16,0"
  70. Padding="0"
  71. Background="Transparent"
  72. BorderThickness="0"
  73. Style="{DynamicResource FormTabControl}">
  74. <TabItem>
  75. <TabItem.Header>
  76. <Path Data="M8.33337 2.75704L3.19495 4.5L8.33337 6.24296L9.93268 5.70047L10.7558 5.42127L11.2376 6.84178L10.4145 7.12098L8.76831 7.67937C8.49068 7.77354 8.17606 7.77354 7.89843 7.67937L1.31361 5.44579C0.999461 5.33923 0.583374 5.03874 0.583374 4.5C0.583374 3.96126 0.999461 3.66077 1.31361 3.55421L7.89843 1.32063C8.17606 1.22646 8.49068 1.22646 8.76831 1.32063L15.3531 3.55421C15.6673 3.66077 16.0834 3.96126 16.0834 4.5C16.0834 5.03874 15.6673 5.33923 15.3531 5.44579L14.53 5.72499L13.7069 6.00419L13.2251 4.58368L13.4718 4.5L8.33337 2.75704ZM8.33337 9.74993L15.1244 7.7797L15.5423 9.2203L8.7427 11.193C8.48085 11.269 8.1859 11.269 7.92405 11.193L1.1244 9.2203L1.54235 7.7797L8.33337 9.74993ZM15.1244 11.2797L8.33337 13.2499L1.54235 11.2797L1.1244 12.7203L7.92405 14.693C8.1859 14.769 8.48085 14.769 8.7427 14.693L15.5423 12.7203L15.1244 11.2797Z" Fill="{StaticResource color.light.gray.11}" />
  77. </TabItem.Header>
  78. <StackPanel Background="Transparent" IsEnabled="{Binding ElementName=ChkLock, Path=IsChecked, Converter={StaticResource InvertBoolConvert}}">
  79. <TextBlock
  80. Margin="0,18,0,10"
  81. Style="{StaticResource PropertyHeaderLv2}"
  82. Text="Name" />
  83. <cus:TextBoxEx x:Name="TbName" Height="32" CornerRadius="4" Text="{Binding FieldName,Mode=TwoWay}" >
  84. <i:Interaction.Triggers>
  85. <i:EventTrigger EventName="TextChanged">
  86. <i:InvokeCommandAction Command="{Binding FieldNameTextChangedCommand}" CommandParameter="{Binding ElementName=TbName,Path=Text}"/>
  87. </i:EventTrigger>
  88. </i:Interaction.Triggers>
  89. </cus:TextBoxEx>
  90. <TextBlock
  91. Margin="0,18,0,10"
  92. Style="{StaticResource PropertyHeaderLv2}"
  93. Text="ToolTip" />
  94. <cus:TextBoxEx x:Name="TbToolTip" Height="32" CornerRadius="4" Text="{Binding ToolTipStr,Mode=TwoWay}">
  95. <i:Interaction.Triggers>
  96. <i:EventTrigger EventName="TextChanged">
  97. <i:InvokeCommandAction Command="{Binding ToolTipTextChangedCommand}" CommandParameter="{Binding ElementName=TbToolTip,Path=Text}"/>
  98. </i:EventTrigger>
  99. </i:Interaction.Triggers>
  100. </cus:TextBoxEx>
  101. <TextBlock
  102. Margin="0,18,0,10"
  103. Style="{StaticResource PropertyHeaderLv2}"
  104. Text="Form Field" />
  105. <form:FormFieldCombox x:Name="formCombox" Type="{Binding FormField,Mode=TwoWay}" Height="32" Margin="0,8,0,16" />
  106. <CheckBox x:Name="ReadOnlyCheckBox" Content="Read Only" IsChecked="{Binding IsReadOnly,Mode=TwoWay}"/>
  107. <CheckBox x:Name="RequiredFieldCheckBox" Margin="0,8" Content="Required field" IsChecked="{Binding IsRequiredField,Mode=TwoWay}" />
  108. </StackPanel>
  109. </TabItem>
  110. <TabItem>
  111. <TabItem.Header>
  112. <Path Data="M2.5 2.5V4.5H10.5V2.5H2.5ZM2 1C1.44772 1 1 1.44772 1 2V5C1 5.55228 1.44771 6 2 6H11C11.5523 6 12 5.55228 12 5V3.75H13.25V6.58333H8.4C7.76487 6.58333 7.25 7.09821 7.25 7.73333V9H7C6.44772 9 6 9.44772 6 10V14C6 14.5523 6.44772 15 7 15H9C9.55228 15 10 14.5523 10 14V10C10 9.44772 9.55228 9 9 9H8.75V8.08333H13.6C14.2351 8.08333 14.75 7.56846 14.75 6.93333V3.4C14.75 2.76487 14.2351 2.25 13.6 2.25H12V2C12 1.44772 11.5523 1 11 1H2ZM7.50018 13.4998V10.5002H8.49982V13.4998H7.50018Z" Fill="{StaticResource color.light.gray.11}" />
  113. </TabItem.Header>
  114. <Grid IsEnabled="{Binding ElementName=ChkLock, Path=IsChecked, Converter={StaticResource InvertBoolConvert}}" >
  115. <StackPanel>
  116. <StackPanel>
  117. <TextBlock
  118. Margin="0,18,0,10"
  119. Style="{StaticResource PropertyHeaderLv2}"
  120. Text="Set Color" />
  121. <Grid Height="100" >
  122. <Grid.RowDefinitions>
  123. <RowDefinition Height="auto"/>
  124. <RowDefinition Height="auto"/>
  125. </Grid.RowDefinitions>
  126. <Grid.ColumnDefinitions>
  127. <ColumnDefinition Width="*"/>
  128. <ColumnDefinition Width="*"/>
  129. </Grid.ColumnDefinitions>
  130. <RadioButton x:Name="OneBtn" BorderThickness="1" Width="104" Height="50" Grid.Row="0" Grid.Column="0" Tag="One"
  131. Style="{StaticResource BlueBorderRadionButtonWithCorner}" Padding="3"
  132. ContextMenu="{StaticResource ColorBtnFlyoutMenu}"
  133. >
  134. <Grid Width="100" Height="40">
  135. <Grid.RowDefinitions>
  136. <RowDefinition Height="*"/>
  137. <RowDefinition Height="*"/>
  138. </Grid.RowDefinitions>
  139. <Rectangle Grid.Row="0" Grid.RowSpan="2" Fill="{Binding ResetColorOne.FillColor}" Stroke="{Binding ResetColorOne.BorderColor}" StrokeThickness="1" VerticalAlignment="Stretch"/>
  140. <TextBlock Grid.Row="0" Text="Text" FontSize="14" LineHeight="22" FontFamily="Segoe UI" Foreground="{Binding ResetColorOne.FontColor}" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  141. <TextBlock Grid.Row="1" Text="Text" FontSize="14" LineHeight="22" FontFamily="Segoe UI" Foreground="{Binding ResetColorOne.FontColor}" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  142. </Grid>
  143. <i:Interaction.Triggers>
  144. <i:EventTrigger EventName="Checked">
  145. <i:InvokeCommandAction Command="{Binding ResetColorCheckedBtnCommand}" CommandParameter="{Binding ElementName=OneBtn,Path=Tag}"/>
  146. </i:EventTrigger>
  147. </i:Interaction.Triggers>
  148. </RadioButton>
  149. <RadioButton x:Name="TwoBtn" BorderThickness="1" Width="104" Height="50" Grid.Row="0" Grid.Column="1" Tag="Two"
  150. Style="{StaticResource BlueBorderRadionButtonWithCorner}"
  151. ContextMenu="{StaticResource ColorBtnFlyoutMenu}"
  152. >
  153. <Grid Width="100" Height="40">
  154. <Grid.RowDefinitions>
  155. <RowDefinition Height="*"/>
  156. <RowDefinition Height="*"/>
  157. </Grid.RowDefinitions>
  158. <Rectangle Grid.Row="0" Grid.RowSpan="2" Fill="{Binding ResetColorTwo.FillColor}" Stroke="{Binding ResetColorTwo.BorderColor}" StrokeThickness="1" VerticalAlignment="Stretch"/>
  159. <TextBlock Grid.Row="0" Text="Text" FontSize="14" LineHeight="22" FontFamily="Segoe UI" Foreground="{Binding ResetColorTwo.FontColor}" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  160. <TextBlock Grid.Row="1" Text="Text" FontSize="14" LineHeight="22" FontFamily="Segoe UI" Foreground="{Binding ResetColorTwo.FontColor}" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  161. </Grid>
  162. <i:Interaction.Triggers>
  163. <i:EventTrigger EventName="Checked">
  164. <i:InvokeCommandAction Command="{Binding ResetColorCheckedBtnCommand}" CommandParameter="{Binding ElementName=TwoBtn,Path=Tag}"/>
  165. </i:EventTrigger>
  166. </i:Interaction.Triggers>
  167. </RadioButton>
  168. <RadioButton x:Name="ThreeBtn" BorderThickness="1" Width="104" Height="50" Grid.Row="1" Grid.Column="0" Tag="Three"
  169. Style="{StaticResource BlueBorderRadionButtonWithCorner}"
  170. ContextMenu="{StaticResource ColorBtnFlyoutMenu}"
  171. >
  172. <Grid Width="100" Height="40">
  173. <Grid.RowDefinitions>
  174. <RowDefinition Height="*"/>
  175. <RowDefinition Height="*"/>
  176. </Grid.RowDefinitions>
  177. <Rectangle Grid.Row="0" Grid.RowSpan="2" Fill="{Binding ResetColorThree.FillColor}" Stroke="{Binding ResetColorThree.BorderColor}" StrokeThickness="1" VerticalAlignment="Stretch"/>
  178. <TextBlock Grid.Row="0" Text="Text" FontSize="14" LineHeight="22" FontFamily="Segoe UI" Foreground="{Binding ResetColorThree.FontColor}" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  179. <TextBlock Grid.Row="1" Text="Text" FontSize="14" LineHeight="22" FontFamily="Segoe UI" Foreground="{Binding ResetColorThree.FontColor}" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  180. </Grid>
  181. <i:Interaction.Triggers>
  182. <i:EventTrigger EventName="Checked">
  183. <i:InvokeCommandAction Command="{Binding ResetColorCheckedBtnCommand}" CommandParameter="{Binding ElementName=ThreeBtn,Path=Tag}"/>
  184. </i:EventTrigger>
  185. </i:Interaction.Triggers>
  186. </RadioButton>
  187. <RadioButton x:Name="ForthBtn" BorderThickness="1" Width="104" Height="50" Grid.Row="1" Grid.Column="1" Tag="Forth"
  188. Style="{StaticResource BlueBorderRadionButtonWithCorner}"
  189. ContextMenu="{StaticResource ColorBtnFlyoutMenu}"
  190. >
  191. <Grid Width="100" Height="40">
  192. <Grid.RowDefinitions>
  193. <RowDefinition Height="*"/>
  194. <RowDefinition Height="*"/>
  195. </Grid.RowDefinitions>
  196. <Rectangle Grid.Row="0" Grid.RowSpan="2" Fill="{Binding ResetColorForth.FillColor}" Stroke="{Binding ResetColorForth.BorderColor}" StrokeThickness="1" VerticalAlignment="Stretch"/>
  197. <TextBlock Grid.Row="0" Text="Text" FontSize="14" LineHeight="22" FontFamily="Segoe UI" Foreground="{Binding ResetColorForth.FontColor}" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  198. <TextBlock Grid.Row="1" Text="Text" FontSize="14" LineHeight="22" FontFamily="Segoe UI" Foreground="{Binding ResetColorForth.FontColor}" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  199. </Grid>
  200. <i:Interaction.Triggers>
  201. <i:EventTrigger EventName="Checked">
  202. <i:InvokeCommandAction Command="{Binding ResetColorCheckedBtnCommand}" CommandParameter="{Binding ElementName=ForthBtn,Path=Tag}"/>
  203. </i:EventTrigger>
  204. </i:Interaction.Triggers>
  205. </RadioButton>
  206. </Grid>
  207. </StackPanel>
  208. <StackPanel>
  209. <TextBlock
  210. Margin="0,18,0,10"
  211. Style="{StaticResource PropertyHeaderLv2}"
  212. Text="Line" />
  213. <CompositeControl:SlidComboControl x:Name="thickness" Value="{Binding BorderThiness,Mode=TwoWay}"/>
  214. <StackPanel
  215. x:Name="PnlLineStyle"
  216. Margin="0,20,0,0"
  217. Orientation="Horizontal">
  218. <cus:CustomIconToggleBtn
  219. x:Name="BtnSolidLine"
  220. Width="110"
  221. Height="32"
  222. Click="BtnLineStyle_Click"
  223. Command="{Binding LineStyleCommand}"
  224. CommandParameter="{Binding ElementName=BtnSolidLine, Path=Tag}"
  225. Style="{StaticResource ToggleBtnViewModeStyle}" IsChecked="{Binding IsSolid}"
  226. Tag="Solid">
  227. <Border
  228. Width="108"
  229. Height="30"
  230. Padding="8,0,8,0"
  231. BorderBrush="Black"
  232. BorderThickness="1">
  233. <Line
  234. Stroke="Black"
  235. StrokeThickness="2"
  236. X1="10"
  237. X2="260"
  238. Y1="15"
  239. Y2="15" />
  240. </Border>
  241. </cus:CustomIconToggleBtn>
  242. <cus:CustomIconToggleBtn
  243. x:Name="BtnDottedLine"
  244. Width="110"
  245. Height="32"
  246. Click="BtnLineStyle_Click"
  247. Command="{Binding LineStyleCommand}"
  248. CommandParameter="{Binding ElementName=BtnDottedLine, Path=Tag}"
  249. Style="{StaticResource ToggleBtnViewModeStyle}" IsChecked="{Binding IsSolid,Converter={StaticResource InvertBoolConvert}}"
  250. Tag="Dotted">
  251. <Border
  252. Width="108"
  253. Height="30"
  254. Padding="8,0,8,0"
  255. BorderBrush="Black"
  256. BorderThickness="1">
  257. <Line
  258. Stroke="Black"
  259. StrokeDashArray="2"
  260. StrokeThickness="2"
  261. X1="10"
  262. X2="260"
  263. Y1="15"
  264. Y2="15" />
  265. </Border>
  266. </cus:CustomIconToggleBtn>
  267. </StackPanel>
  268. </StackPanel>
  269. <StackPanel>
  270. <TextBlock
  271. Margin="0,18,0,10"
  272. Style="{StaticResource PropertyHeaderLv2}"
  273. Text="文本" />
  274. <Grid Margin="0,6,0,0">
  275. <Grid.ColumnDefinitions>
  276. <ColumnDefinition Width="auto"></ColumnDefinition>
  277. <ColumnDefinition Width="auto"></ColumnDefinition>
  278. </Grid.ColumnDefinitions>
  279. <Grid.RowDefinitions>
  280. <RowDefinition Height="auto"></RowDefinition>
  281. <RowDefinition Height="auto"></RowDefinition>
  282. <RowDefinition Height="auto"></RowDefinition>
  283. </Grid.RowDefinitions>
  284. <CompositeControl:CustomComboControl x:Name="FontFamilyBox"
  285. ItemSource="{Binding FontFamilyItems}" SelectedItems="{Binding FontFamilyData,Mode=TwoWay}"
  286. IsValueContent="True" Grid.ColumnSpan="2" Width="228" Height="32">
  287. </CompositeControl:CustomComboControl>
  288. <CompositeControl:CustomComboControl x:Name="FontStyleBox" Grid.Row="1"
  289. Width="148" Height="32" Margin="12,8,4,0"
  290. ItemSource="{Binding FontStyleItems}" SelectedItems="{Binding FontWeightStyleItem,Mode=TwoWay}"
  291. IsValueContent="True" Grid.Column="0">
  292. </CompositeControl:CustomComboControl>
  293. <CompositeControl:CustomComboControl x:Name="FontSizeBox" Grid.Row="1" Grid.Column="1" SelectedItems="{Binding FontSizeData,Mode=TwoWay}"
  294. Width="80" Height="32" Margin="-1,8,0,0"
  295. >
  296. </CompositeControl:CustomComboControl>
  297. </Grid>
  298. </StackPanel>
  299. <StackPanel>
  300. <TextBlock
  301. Margin="0,18,0,10"
  302. Style="{StaticResource PropertyHeaderLv2}"
  303. Text="大小" />
  304. <StackPanel Orientation="Horizontal">
  305. <Path Data="M12.9999 8.75012V10.8285L15.8284 8.00006L12.9999 5.17163V7.25012H2.82843V5.17175L0 8.00017L2.82843 10.8286V8.75012H12.9999Z" Fill="#616469"/>
  306. <cus:NumericUpDown Height="32" Width="90" Value="{Binding WidthSize,Mode=TwoWay}"/>
  307. <Path Data="M10.8284 2.82843H8.74999L8.74999 12.9999H10.8285L8.00005 15.8284L5.17163 12.9999H7.24999L7.24999 2.82843H5.17151L7.99994 0L10.8284 2.82843Z" Fill="#616469"/>
  308. <cus:NumericUpDown Height="32" Width="90" Value="{Binding HeightSize,Mode=TwoWay}"/>
  309. </StackPanel>
  310. </StackPanel>
  311. </StackPanel>
  312. </Grid>
  313. </TabItem>
  314. <TabItem>
  315. <TabItem.Header>
  316. <Path Data="M4.91675 3.75V5H6.41675V1H4.91675V2.25H1.66675V3.75H4.91675ZM15.6667 3.75L7.66675 3.75V2.25L15.6667 2.25V3.75ZM1.66675 7.25V8.75H8.91675V10H10.4167V6H8.91675V7.25H1.66675ZM15.6667 8.75L11.6667 8.75V7.25L15.6667 7.25V8.75ZM7.66675 12.25V13.75L15.6667 13.75V12.25L7.66675 12.25ZM4.91675 13.75H1.66675V12.25H4.91675V11H6.41675V15H4.91675V13.75Z" Fill="{StaticResource color.light.gray.11}" />
  317. </TabItem.Header>
  318. <Grid>
  319. <StackPanel IsEnabled="{Binding ElementName=ChkLock, Path=IsChecked, Converter={StaticResource InvertBoolConvert}}">
  320. <TextBlock
  321. Margin="0,18,0,10"
  322. Style="{StaticResource PropertyHeaderLv2}"
  323. Text="Projects" />
  324. <Grid>
  325. <cus:TextBoxEx
  326. Width="188"
  327. Height="32"
  328. HorizontalAlignment="Left"
  329. CornerRadius="4" />
  330. <Button
  331. Width="32"
  332. HorizontalAlignment="Right"
  333. Style="{StaticResource btn.sec-icon}">
  334. <Path Data="M7.25 8.75V14H8.75V8.75H14V7.25H8.75V2H7.25V7.25H2V8.75H7.25Z" />
  335. </Button>
  336. </Grid>
  337. <TextBlock
  338. Margin="0,18,0,10"
  339. Style="{StaticResource PropertyHeaderLv2}"
  340. Text="Exported Values" />
  341. <cus:TextBoxEx Height="32" CornerRadius="4" />
  342. <ListBox Height="98" Margin="0,8" />
  343. <StackPanel Margin="0,0,0,8" Orientation="Horizontal">
  344. <Button
  345. Width="32"
  346. Height="32"
  347. Style="{StaticResource btn.sec-icon}">
  348. <Path Data="M6 1.75H10V0.25H6V1.75ZM1 4.25H2.25V15C2.25 15.4142 2.58579 15.75 3 15.75H13C13.4142 15.75 13.75 15.4142 13.75 15V4.25H15V2.75H1V4.25ZM3.75 14.25V4.25H12.25V14.25H3.75ZM7.25 6.5V11.5H8.75V6.5H7.25Z" />
  349. </Button>
  350. <Button
  351. Width="32"
  352. Height="32"
  353. Margin="8,0"
  354. Style="{StaticResource btn.sec-icon}">
  355. <Path Data="M8.72505 12.4147L8.72505 1.02539L7.22505 1.02539L7.22505 12.4147L4.9054 10.0951L3.84474 11.1557L7.44471 14.7557C7.7376 15.0486 8.21248 15.0486 8.50537 14.7557L12.1053 11.1557L11.0447 10.0951L8.72505 12.4147Z" />
  356. </Button>
  357. <Button
  358. Width="32"
  359. Height="32"
  360. Style="{StaticResource btn.sec-icon}">
  361. <Path Data="M8.77509 3.58605L11.0947 5.9057L12.1554 4.84504L8.55542 1.24506C8.26253 0.952167 7.78765 0.952167 7.49476 1.24506L3.89478 4.84504L4.95544 5.9057L7.27509 3.58605L7.27509 14.9754L8.77509 14.9754L8.77509 3.58605Z" />
  362. </Button>
  363. </StackPanel>
  364. <CheckBox Margin="0,8,0,4" Content="Sort Items" />
  365. <CheckBox Margin="0,4" Content="Allow users to enter custom text" />
  366. <CheckBox Margin="0,4">
  367. <TextBlock Text="Submit the selected value immediately" TextWrapping="Wrap" />
  368. </CheckBox>
  369. </StackPanel>
  370. </Grid>
  371. </TabItem>
  372. </TabControl>
  373. <Border
  374. Grid.Row="2"
  375. BorderBrush="{StaticResource color.sys.layout.divider}"
  376. BorderThickness="0,1,0,0">
  377. <CheckBox
  378. Name="ChkLock"
  379. Margin="16"
  380. Content="Locked" IsChecked="{Binding IsLocked,Mode=TwoWay}">
  381. </CheckBox>
  382. </Border>
  383. </Grid>
  384. </UserControl>