|
@@ -5,9 +5,10 @@
|
|
|
xmlns:convert="clr-namespace:PDF_Office.DataConvert"
|
|
|
xmlns:cus="clr-namespace:PDF_Office.CustomControl"
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
+ xmlns:form="clr-namespace:PDF_Office.CustomControl.Form"
|
|
|
xmlns:local="clr-namespace:PDF_Office.Views.Form"
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
- d:DesignHeight="450"
|
|
|
+ d:DesignHeight="750"
|
|
|
d:DesignWidth="260"
|
|
|
Background="{StaticResource color.sys.layout.mg}"
|
|
|
mc:Ignorable="d">
|
|
@@ -20,6 +21,11 @@
|
|
|
<Setter Property="BorderThickness" Value="0" />
|
|
|
<Setter Property="Template" Value="{DynamicResource Segmented}" />
|
|
|
</Style>
|
|
|
+ <Style TargetType="{x:Type Path}">
|
|
|
+ <Setter Property="Width" Value="16" />
|
|
|
+ <Setter Property="Height" Value="16" />
|
|
|
+ <Setter Property="Fill" Value="{StaticResource color.icon.base.neutral.norm.lv1}" />
|
|
|
+ </Style>
|
|
|
<ControlTemplate x:Key="Segmented" TargetType="{x:Type TabItem}">
|
|
|
<Grid x:Name="templateRoot" SnapsToDevicePixels="True">
|
|
|
<Border
|
|
@@ -371,16 +377,19 @@
|
|
|
Margin="0,18,0,10"
|
|
|
Style="{StaticResource PropertyHeaderLv2}"
|
|
|
Text="Name" />
|
|
|
- <cus:TextBoxWithClear
|
|
|
- Height="32"
|
|
|
- VerticalAlignment="Center"
|
|
|
- CornerRadius="4" />
|
|
|
- <TextBlock />
|
|
|
- <TextBox />
|
|
|
- <TextBlock />
|
|
|
- <ComboBox />
|
|
|
- <CheckBox />
|
|
|
- <CheckBox />
|
|
|
+ <cus:TextBoxEx Height="32" CornerRadius="4" />
|
|
|
+ <TextBlock
|
|
|
+ Margin="0,18,0,10"
|
|
|
+ Style="{StaticResource PropertyHeaderLv2}"
|
|
|
+ Text="ToolTip" />
|
|
|
+ <cus:TextBoxEx Height="32" CornerRadius="4" />
|
|
|
+ <TextBlock
|
|
|
+ Margin="0,18,0,10"
|
|
|
+ Style="{StaticResource PropertyHeaderLv2}"
|
|
|
+ Text="Form Field" />
|
|
|
+ <form:FormFieldCombox Height="32" Margin="0,8,0,16" />
|
|
|
+ <CheckBox Content="Read Only" />
|
|
|
+ <CheckBox Margin="0,8" Content="Required field" />
|
|
|
</StackPanel>
|
|
|
</TabItem>
|
|
|
<TabItem>
|
|
@@ -394,7 +403,57 @@
|
|
|
<TabItem.Header>
|
|
|
<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}" />
|
|
|
</TabItem.Header>
|
|
|
- <Grid IsEnabled="{Binding ElementName=ChkLock, Path=IsChecked, Converter={StaticResource InvertBoolConvert}}" />
|
|
|
+ <StackPanel IsEnabled="{Binding ElementName=ChkLock, Path=IsChecked, Converter={StaticResource InvertBoolConvert}}">
|
|
|
+ <TextBlock
|
|
|
+ Margin="0,18,0,10"
|
|
|
+ Style="{StaticResource PropertyHeaderLv2}"
|
|
|
+ Text="Projects" />
|
|
|
+ <Grid>
|
|
|
+ <cus:TextBoxEx
|
|
|
+ Width="188"
|
|
|
+ Height="32"
|
|
|
+ HorizontalAlignment="Left"
|
|
|
+ CornerRadius="4" />
|
|
|
+ <Button
|
|
|
+ Width="32"
|
|
|
+ HorizontalAlignment="Right"
|
|
|
+ Style="{StaticResource btn.sec-icon}">
|
|
|
+ <Path Data="M7.25 8.75V14H8.75V8.75H14V7.25H8.75V2H7.25V7.25H2V8.75H7.25Z" />
|
|
|
+ </Button>
|
|
|
+ </Grid>
|
|
|
+ <TextBlock
|
|
|
+ Margin="0,18,0,10"
|
|
|
+ Style="{StaticResource PropertyHeaderLv2}"
|
|
|
+ Text="Exported Values" />
|
|
|
+ <cus:TextBoxEx Height="32" CornerRadius="4" />
|
|
|
+ <ListBox Height="98" Margin="0,8" />
|
|
|
+ <StackPanel Margin="0,0,0,8" Orientation="Horizontal">
|
|
|
+ <Button
|
|
|
+ Width="32"
|
|
|
+ Height="32"
|
|
|
+ Style="{StaticResource btn.sec-icon}">
|
|
|
+ <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" />
|
|
|
+ </Button>
|
|
|
+ <Button
|
|
|
+ Width="32"
|
|
|
+ Height="32"
|
|
|
+ Margin="8,0"
|
|
|
+ Style="{StaticResource btn.sec-icon}">
|
|
|
+ <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" />
|
|
|
+ </Button>
|
|
|
+ <Button
|
|
|
+ Width="32"
|
|
|
+ Height="32"
|
|
|
+ Style="{StaticResource btn.sec-icon}">
|
|
|
+ <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" />
|
|
|
+ </Button>
|
|
|
+ </StackPanel>
|
|
|
+ <CheckBox Margin="0,8,0,4" Content="Sort Items" />
|
|
|
+ <CheckBox Margin="0,4" Content="Allow users to enter custom text" />
|
|
|
+ <CheckBox Margin="0,4">
|
|
|
+ <TextBlock Text="Submit the selected value immediately" TextWrapping="Wrap" />
|
|
|
+ </CheckBox>
|
|
|
+ </StackPanel>
|
|
|
</TabItem>
|
|
|
|
|
|
</TabControl>
|