TextFieldProperty.xaml 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387
  1. <UserControl
  2. x:Class="PDF_Office.Views.Form.TextFieldProperty"
  3. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5. xmlns:convert="clr-namespace:PDF_Office.DataConvert"
  6. xmlns:cus="clr-namespace:PDF_Office.CustomControl"
  7. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8. xmlns:form="clr-namespace:PDF_Office.CustomControl.Form"
  9. xmlns:local="clr-namespace:PDF_Office.Views.Form"
  10. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11. xmlns:prism="http://prismlibrary.com/"
  12. prism:ViewModelLocator.AutoWireViewModel="True"
  13. xmlns:CompositeControl="clr-namespace:PDF_Office.CustomControl.CompositeControl"
  14. xmlns:i="http://schemas.microsoft.com/xaml/behaviors"
  15. d:DesignHeight="750"
  16. d:DesignWidth="260"
  17. Background="{StaticResource color.sys.layout.mg}"
  18. mc:Ignorable="d">
  19. <UserControl.Resources>
  20. <ResourceDictionary>
  21. <ResourceDictionary.MergedDictionaries>
  22. <ResourceDictionary Source="../../Styles/ListViewStyle.xaml" />
  23. <ResourceDictionary Source="../../Styles/SliderStyle.xaml"/>
  24. </ResourceDictionary.MergedDictionaries>
  25. <convert:InvertBoolConvert x:Key="InvertBoolConvert" />
  26. <Style TargetType="{x:Type TabItem}">
  27. <Setter Property="Width" Value="74.67 " />
  28. <Setter Property="Height" Value="28" />
  29. <Setter Property="BorderThickness" Value="0" />
  30. <Setter Property="Template" Value="{DynamicResource Segmented}" />
  31. </Style>
  32. <Style TargetType="{x:Type Path}">
  33. <Setter Property="Width" Value="16" />
  34. <Setter Property="Height" Value="16" />
  35. <Setter Property="Fill" Value="{StaticResource color.icon.base.neutral.norm.lv1}" />
  36. </Style>
  37. <DataTemplate x:Key="ContentColorTemplate">
  38. <Grid Width="84" Height="24">
  39. <Rectangle Stroke="Red" StrokeThickness="1"/>
  40. <TextBlock Text="Text"/>
  41. </Grid>
  42. </DataTemplate>
  43. </ResourceDictionary>
  44. </UserControl.Resources>
  45. <Grid ScrollViewer.VerticalScrollBarVisibility="Auto">
  46. <Grid.RowDefinitions>
  47. <RowDefinition Height="auto" />
  48. <RowDefinition Height="*" />
  49. <RowDefinition Height="auto" />
  50. </Grid.RowDefinitions>
  51. <TextBlock
  52. Margin="16,14"
  53. FontFamily="Segoe UI"
  54. FontSize="14"
  55. FontWeight="SemiBold"
  56. Text="Text Field" />
  57. <TabControl
  58. Grid.Row="1"
  59. Margin="16,0"
  60. Padding="0"
  61. Background="Transparent"
  62. BorderThickness="0"
  63. Style="{DynamicResource FormTabControl}">
  64. <TabItem>
  65. <TabItem.Header>
  66. <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}" />
  67. </TabItem.Header>
  68. <StackPanel Background="Transparent" IsEnabled="{Binding ElementName=ChkLock, Path=IsChecked, Converter={StaticResource InvertBoolConvert}}">
  69. <TextBlock
  70. Margin="0,18,0,10"
  71. Style="{StaticResource PropertyHeaderLv2}"
  72. Text="Name" />
  73. <cus:TextBoxEx x:Name="TbName" Height="32" CornerRadius="4" Text="{Binding NameStr,Mode=TwoWay}" >
  74. <i:Interaction.Triggers>
  75. <i:EventTrigger EventName="TextChanged">
  76. <i:InvokeCommandAction Command="{Binding NameTextChangedCommand}" CommandParameter="{Binding ElementName=TbName,Path=Text}"/>
  77. </i:EventTrigger>
  78. </i:Interaction.Triggers>
  79. </cus:TextBoxEx>
  80. <TextBlock
  81. Margin="0,18,0,10"
  82. Style="{StaticResource PropertyHeaderLv2}"
  83. Text="ToolTip" />
  84. <cus:TextBoxEx x:Name="TbToolTip" Height="32" CornerRadius="4" >
  85. <i:Interaction.Triggers>
  86. <i:EventTrigger EventName="TextChanged">
  87. <i:InvokeCommandAction Command="{Binding ToolTipTextChangedCommand}" CommandParameter="{Binding ElementName=TbToolTip,Path=Text}"/>
  88. </i:EventTrigger>
  89. </i:Interaction.Triggers>
  90. </cus:TextBoxEx>
  91. <TextBlock
  92. Margin="0,18,0,10"
  93. Style="{StaticResource PropertyHeaderLv2}"
  94. Text="Form Field" />
  95. <form:FormFieldCombox x:Name="formCombox" Type="{Binding FormPos,Mode=OneWay}" Height="32" Margin="0,8,0,16" />
  96. <CheckBox x:Name="ReadOnlyCheckBox" Content="Read Only" Command="{Binding IsReadOnlyCheckedCommand}" CommandParameter="{Binding ElementName=ReadOnlyCheckBox,Path=IsChecked}"/>
  97. <CheckBox x:Name="RequiredFieldCheckBox" Margin="0,8" Content="Required field" Command="{Binding RequiredFieldCheckedCommand}" CommandParameter="{Binding ElementName=RequiredFieldCheckBox,Path=IsChecked}"/>
  98. </StackPanel>
  99. </TabItem>
  100. <TabItem>
  101. <TabItem.Header>
  102. <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}" />
  103. </TabItem.Header>
  104. <Grid IsEnabled="{Binding ElementName=ChkLock, Path=IsChecked, Converter={StaticResource InvertBoolConvert}}" >
  105. <StackPanel>
  106. <StackPanel>
  107. <TextBlock
  108. Margin="0,18,0,10"
  109. Style="{StaticResource PropertyHeaderLv2}"
  110. Text="Set Color" />
  111. <Grid Height="50" >
  112. <Grid.RowDefinitions>
  113. <RowDefinition Height="auto"/>
  114. <RowDefinition Height="auto"/>
  115. </Grid.RowDefinitions>
  116. <Grid.ColumnDefinitions>
  117. <ColumnDefinition Width="*"/>
  118. <ColumnDefinition Width="*"/>
  119. </Grid.ColumnDefinitions>
  120. <RadioButton BorderThickness="1" Width="84" Height="24" Grid.Row="0" Grid.Column="0"
  121. Style="{StaticResource BlueBorderRadionButtonWithCorner}">
  122. <Grid Width="84" Height="24" Margin="3">
  123. <Rectangle Fill="BlueViolet" Stroke="Black" StrokeThickness="1" VerticalAlignment="Stretch"/>
  124. <TextBlock Text="Text" FontSize="14" LineHeight="22" FontFamily="Segoe UI" Foreground="Red" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  125. </Grid>
  126. </RadioButton>
  127. <RadioButton BorderThickness="1" Width="84" Height="24" Grid.Row="0" Grid.Column="1"
  128. Style="{StaticResource BlueBorderRadionButtonWithCorner}">
  129. <Grid Width="84" Height="24" Margin="3">
  130. <Rectangle Fill="BlueViolet" Stroke="Black" StrokeThickness="1" VerticalAlignment="Stretch"/>
  131. <TextBlock Text="Text" FontSize="14" LineHeight="22" FontFamily="Segoe UI" Foreground="Red" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  132. </Grid>
  133. </RadioButton>
  134. <RadioButton BorderThickness="1" Width="84" Height="24" Grid.Row="1" Grid.Column="0"
  135. Style="{StaticResource BlueBorderRadionButtonWithCorner}">
  136. <Grid Width="84" Height="24" Margin="3">
  137. <Rectangle Fill="BlueViolet" Stroke="Black" StrokeThickness="1" VerticalAlignment="Stretch"/>
  138. <TextBlock Text="Text" FontSize="14" LineHeight="22" FontFamily="Segoe UI" Foreground="Red" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  139. </Grid>
  140. </RadioButton>
  141. <RadioButton BorderThickness="1" Width="84" Height="24" Grid.Row="1" Grid.Column="1"
  142. Style="{StaticResource BlueBorderRadionButtonWithCorner}">
  143. <Grid Width="84" Height="24" Margin="3">
  144. <Rectangle Fill="BlueViolet" Stroke="Black" StrokeThickness="1" VerticalAlignment="Stretch"/>
  145. <TextBlock Text="Text" FontSize="14" LineHeight="22" FontFamily="Segoe UI" Foreground="Red" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  146. </Grid>
  147. </RadioButton>
  148. </Grid>
  149. </StackPanel>
  150. <StackPanel>
  151. <TextBlock
  152. Margin="0,18,0,10"
  153. Style="{StaticResource PropertyHeaderLv2}"
  154. Text="Line" />
  155. <CompositeControl:SlidComboControl x:Name="thickness">
  156. <i:Interaction.Triggers>
  157. <i:EventTrigger EventName="ValueChanged">
  158. <i:InvokeCommandAction Command="{Binding ThicknessChangedCommand}" CommandParameter="{Binding ElementName=thickness,Path=Value}"/>
  159. </i:EventTrigger>
  160. </i:Interaction.Triggers>
  161. </CompositeControl:SlidComboControl>
  162. </StackPanel>
  163. <StackPanel>
  164. <TextBlock
  165. Margin="0,18,0,10"
  166. Style="{StaticResource PropertyHeaderLv2}"
  167. Text="文本" />
  168. <Grid Margin="0,6,0,0">
  169. <Grid.ColumnDefinitions>
  170. <ColumnDefinition Width="auto"></ColumnDefinition>
  171. <ColumnDefinition Width="auto"></ColumnDefinition>
  172. </Grid.ColumnDefinitions>
  173. <Grid.RowDefinitions>
  174. <RowDefinition Height="auto"></RowDefinition>
  175. <RowDefinition Height="auto"></RowDefinition>
  176. <RowDefinition Height="auto"></RowDefinition>
  177. </Grid.RowDefinitions>
  178. <Border BorderBrush="#E2E3E6" Grid.ColumnSpan="2" Width="228" Height="32" Margin="12,0,4,0" BorderThickness="0">
  179. <Grid>
  180. <ComboBox IsReadOnly="True" Name="FontFamilyBox" Background="Transparent" Padding="10 10 0 0" BorderThickness="1" BorderBrush="#FFE2E3E6"
  181. >
  182. <ComboBox.ItemContainerStyle>
  183. <Style TargetType="{x:Type ComboBoxItem}">
  184. <Setter Property="Padding" Value="10 0 0 0"/>
  185. </Style>
  186. </ComboBox.ItemContainerStyle>
  187. <ComboBoxItem Height="32" VerticalContentAlignment="Center" Template="{StaticResource comboxitem}">
  188. <TextBlock Text="Courier New" FontFamily="Courier New" Tag="Courier" FontSize="14"/>
  189. </ComboBoxItem>
  190. <ComboBoxItem Height="32" VerticalContentAlignment="Center" Template="{StaticResource comboxitem}">
  191. <TextBlock Text="Arial" FontFamily="Arial" Tag="Helvetica" FontSize="14"/>
  192. </ComboBoxItem>
  193. <ComboBoxItem Height="32" VerticalContentAlignment="Center" Template="{StaticResource comboxitem}">
  194. <TextBlock Text="Times New Roman" FontFamily="Times New Roman" Tag="Times Roman" FontSize="14"/>
  195. </ComboBoxItem>
  196. <i:Interaction.Triggers>
  197. <i:EventTrigger EventName="SelectionChanged">
  198. <i:InvokeCommandAction Command="{Binding FontFamilyChangedCommand}" CommandParameter="{Binding ElementName=FontFamilyBox,Path=SelectedIndex}"/>
  199. </i:EventTrigger>
  200. </i:Interaction.Triggers>
  201. </ComboBox>
  202. <TextBox Name="FontFamilyText" FontFamily="Segoe UI" FontSize="14" Background="White" Padding="10 0 0 0" Margin="2,0,25,0" IsReadOnly="True"
  203. BorderThickness="0" VerticalAlignment="Center" TextAlignment="Left">
  204. </TextBox>
  205. </Grid>
  206. </Border>
  207. <Border Grid.Row="1" BorderBrush="#E2E3E6" Width="148" Height="32" Margin="12,8,4,0" BorderThickness="0">
  208. <Grid>
  209. <ComboBox Name="FontStyleBox" IsReadOnly="True" BorderThickness="1" BorderBrush="#FFE2E3E6" Padding="10 10 0 0" Background="Transparent">
  210. <ComboBox.ItemContainerStyle>
  211. <Style TargetType="{x:Type ComboBoxItem}">
  212. <Setter Property="Padding" Value="10 0 0 0"/>
  213. </Style>
  214. </ComboBox.ItemContainerStyle>
  215. <ComboBoxItem x:Name="RegularItem" Height="32" VerticalContentAlignment="Center" Template="{StaticResource comboxitem}">Regular</ComboBoxItem>
  216. <ComboBoxItem x:Name="BoldItem" Height="32" VerticalContentAlignment="Center" Template="{StaticResource comboxitem}">Bold</ComboBoxItem>
  217. <ComboBoxItem x:Name="ItalicItem" Height="32" VerticalContentAlignment="Center" Template="{StaticResource comboxitem}">Italic</ComboBoxItem>
  218. <ComboBoxItem x:Name="BoldItalicItem" Height="32" VerticalContentAlignment="Center" Template="{StaticResource comboxitem}">Bold Italic</ComboBoxItem>
  219. <i:Interaction.Triggers>
  220. <i:EventTrigger EventName="SelectionChanged">
  221. <i:InvokeCommandAction Command="{Binding FontStyleChangedCommand}" CommandParameter="{Binding ElementName=FontStyleBox,Path=SelectedItem}"/>
  222. </i:EventTrigger>
  223. </i:Interaction.Triggers>
  224. </ComboBox>
  225. <TextBox Name="FontStyleText" IsReadOnly="True" FontFamily="Segoe UI" FontSize="14" Background="White" Padding="10 0 0 0" Height="20" Margin="2,0,35,0"
  226. BorderThickness="0" VerticalAlignment="Center" TextAlignment="Left">
  227. </TextBox>
  228. </Grid>
  229. </Border>
  230. <Border Grid.Row="1" Grid.Column="1" BorderBrush="#E2E3E6" Width="80" Height="32" Margin="-1,8,0,0" BorderThickness="0">
  231. <Grid>
  232. <ComboBox Name="FontSizeBox" BorderThickness="1" Background="Transparent" BorderBrush="#FFE2E3E6"
  233. MaxDropDownHeight="200">
  234. <ComboBox.ItemContainerStyle>
  235. <Style TargetType="{x:Type ComboBoxItem}">
  236. <Setter Property="Padding" Value="10 0 0 0"/>
  237. </Style>
  238. </ComboBox.ItemContainerStyle>
  239. <ComboBoxItem Height="32" VerticalContentAlignment="Center" Template="{StaticResource comboxitem}">6</ComboBoxItem>
  240. <ComboBoxItem Height="32" VerticalContentAlignment="Center" Template="{StaticResource comboxitem}">8</ComboBoxItem>
  241. <ComboBoxItem Height="32" VerticalContentAlignment="Center" Template="{StaticResource comboxitem}">9</ComboBoxItem>
  242. <ComboBoxItem Height="32" VerticalContentAlignment="Center" Template="{StaticResource comboxitem}">10</ComboBoxItem>
  243. <ComboBoxItem Height="32" VerticalContentAlignment="Center" Template="{StaticResource comboxitem}">12</ComboBoxItem>
  244. <ComboBoxItem Height="32" VerticalContentAlignment="Center" Template="{StaticResource comboxitem}">14</ComboBoxItem>
  245. <ComboBoxItem Height="32" VerticalContentAlignment="Center" Template="{StaticResource comboxitem}">18</ComboBoxItem>
  246. <ComboBoxItem Height="32" VerticalContentAlignment="Center" Template="{StaticResource comboxitem}">20</ComboBoxItem>
  247. <ComboBoxItem Height="32" VerticalContentAlignment="Center" Template="{StaticResource comboxitem}">22</ComboBoxItem>
  248. <ComboBoxItem Height="32" VerticalContentAlignment="Center" Template="{StaticResource comboxitem}">24</ComboBoxItem>
  249. <ComboBoxItem Height="32" VerticalContentAlignment="Center" Template="{StaticResource comboxitem}">26</ComboBoxItem>
  250. <ComboBoxItem Height="32" VerticalContentAlignment="Center" Template="{StaticResource comboxitem}">28</ComboBoxItem>
  251. <ComboBoxItem Height="32" VerticalContentAlignment="Center" Template="{StaticResource comboxitem}">32</ComboBoxItem>
  252. <ComboBoxItem Height="32" VerticalContentAlignment="Center" Template="{StaticResource comboxitem}">36</ComboBoxItem>
  253. <ComboBoxItem Height="32" VerticalContentAlignment="Center" Template="{StaticResource comboxitem}">48</ComboBoxItem>
  254. <ComboBoxItem Height="32" VerticalContentAlignment="Center" Template="{StaticResource comboxitem}">72</ComboBoxItem>
  255. <i:Interaction.Triggers>
  256. <i:EventTrigger EventName="SelectionChanged">
  257. <i:InvokeCommandAction Command="{Binding FontSizeChangedCommand}" CommandParameter="{Binding ElementName=FontSizeBox,Path=SelectedItem}"/>
  258. </i:EventTrigger>
  259. </i:Interaction.Triggers>
  260. </ComboBox>
  261. <TextBox Name="FontSizeText" FontFamily="Segoe UI" FontSize="14" Background="White" Height="20" Padding="10 0 0 0" Margin="2,0,35,0"
  262. BorderThickness="0" VerticalAlignment="Center" TextAlignment="Left" IsReadOnly="True">
  263. </TextBox>
  264. </Grid>
  265. </Border>
  266. </Grid>
  267. </StackPanel>
  268. <StackPanel>
  269. <TextBlock
  270. Margin="0,18,0,10"
  271. Style="{StaticResource PropertyHeaderLv2}"
  272. Text="大小" />
  273. <StackPanel Orientation="Horizontal">
  274. <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"/>
  275. <cus:NumericUpDown Height="32" Width="90"/>
  276. <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"/>
  277. <cus:NumericUpDown Height="32" Width="90"/>
  278. </StackPanel>
  279. </StackPanel>
  280. </StackPanel>
  281. </Grid>
  282. </TabItem>
  283. <TabItem>
  284. <TabItem.Header>
  285. <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}" />
  286. </TabItem.Header>
  287. <StackPanel IsEnabled="{Binding ElementName=ChkLock, Path=IsChecked, Converter={StaticResource InvertBoolConvert}}">
  288. <TextBlock
  289. Margin="0,18,0,10"
  290. Style="{StaticResource PropertyHeaderLv2}"
  291. Text="Projects" />
  292. <Grid>
  293. <cus:TextBoxEx
  294. Width="188"
  295. Height="32"
  296. HorizontalAlignment="Left"
  297. CornerRadius="4" />
  298. <Button
  299. Width="32"
  300. HorizontalAlignment="Right"
  301. Style="{StaticResource btn.sec-icon}">
  302. <Path Data="M7.25 8.75V14H8.75V8.75H14V7.25H8.75V2H7.25V7.25H2V8.75H7.25Z" />
  303. </Button>
  304. </Grid>
  305. <TextBlock
  306. Margin="0,18,0,10"
  307. Style="{StaticResource PropertyHeaderLv2}"
  308. Text="Exported Values" />
  309. <cus:TextBoxEx Height="32" CornerRadius="4" />
  310. <ListBox Height="98" Margin="0,8" />
  311. <StackPanel Margin="0,0,0,8" Orientation="Horizontal">
  312. <Button
  313. Width="32"
  314. Height="32"
  315. Style="{StaticResource btn.sec-icon}">
  316. <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" />
  317. </Button>
  318. <Button
  319. Width="32"
  320. Height="32"
  321. Margin="8,0"
  322. Style="{StaticResource btn.sec-icon}">
  323. <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" />
  324. </Button>
  325. <Button
  326. Width="32"
  327. Height="32"
  328. Style="{StaticResource btn.sec-icon}">
  329. <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" />
  330. </Button>
  331. </StackPanel>
  332. <CheckBox Margin="0,8,0,4" Content="Sort Items" />
  333. <CheckBox Margin="0,4" Content="Allow users to enter custom text" />
  334. <CheckBox Margin="0,4">
  335. <TextBlock Text="Submit the selected value immediately" TextWrapping="Wrap" />
  336. </CheckBox>
  337. </StackPanel>
  338. </TabItem>
  339. </TabControl>
  340. <Border
  341. Grid.Row="2"
  342. BorderBrush="{StaticResource color.sys.layout.divider}"
  343. BorderThickness="0,1,0,0">
  344. <CheckBox
  345. Name="ChkLock"
  346. Margin="16"
  347. Content="Locked" />
  348. </Border>
  349. </Grid>
  350. </UserControl>