|
@@ -2,6 +2,7 @@
|
|
x:Class="PDF_Office.Views.Dialog.SettingsDialog"
|
|
x:Class="PDF_Office.Views.Dialog.SettingsDialog"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
+ xmlns:compositecontrol="clr-namespace:PDF_Office.CustomControl.CompositeControl"
|
|
xmlns:cus="clr-namespace:PDF_Office.CustomControl"
|
|
xmlns:cus="clr-namespace:PDF_Office.CustomControl"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:dataconvert="clr-namespace:PDF_Office.DataConvert"
|
|
xmlns:dataconvert="clr-namespace:PDF_Office.DataConvert"
|
|
@@ -12,7 +13,7 @@
|
|
Width="700"
|
|
Width="700"
|
|
Height="600"
|
|
Height="600"
|
|
d:DataContext="{d:DesignInstance Type=dialog:SettingsDialogViewModel}"
|
|
d:DataContext="{d:DesignInstance Type=dialog:SettingsDialogViewModel}"
|
|
- d:DesignHeight="673"
|
|
|
|
|
|
+ d:DesignHeight="800"
|
|
d:DesignWidth="700"
|
|
d:DesignWidth="700"
|
|
prism:Dialog.WindowStyle="{StaticResource DialogWindowStyle}"
|
|
prism:Dialog.WindowStyle="{StaticResource DialogWindowStyle}"
|
|
prism:ViewModelLocator.AutoWireViewModel="True"
|
|
prism:ViewModelLocator.AutoWireViewModel="True"
|
|
@@ -121,6 +122,7 @@
|
|
<TabControl
|
|
<TabControl
|
|
Grid.Row="1"
|
|
Grid.Row="1"
|
|
BorderThickness="0"
|
|
BorderThickness="0"
|
|
|
|
+ SelectedIndex="{Binding ModeSelectedIndex, Mode=OneWayToSource, UpdateSourceTrigger=PropertyChanged}"
|
|
Style="{StaticResource InfoTabControl}"
|
|
Style="{StaticResource InfoTabControl}"
|
|
TabStripPlacement="Left">
|
|
TabStripPlacement="Left">
|
|
<TabItem x:Name="TabItemGeneral" Style="{StaticResource InfoTabItem}">
|
|
<TabItem x:Name="TabItemGeneral" Style="{StaticResource InfoTabItem}">
|
|
@@ -148,11 +150,13 @@
|
|
<CheckBox
|
|
<CheckBox
|
|
Margin="8"
|
|
Margin="8"
|
|
Content="APP启动时打开上次未关闭的文档"
|
|
Content="APP启动时打开上次未关闭的文档"
|
|
- Foreground="{StaticResource color.sys.text.neutral.lv1}" />
|
|
|
|
|
|
+ Foreground="{StaticResource color.sys.text.neutral.lv1}"
|
|
|
|
+ IsChecked="{Binding Descript.OpenUnClosedFileWhenOpen, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
|
|
<CheckBox
|
|
<CheckBox
|
|
Margin="8"
|
|
Margin="8"
|
|
Content="文档打开时恢复上次视图设置"
|
|
Content="文档打开时恢复上次视图设置"
|
|
- Foreground="{StaticResource color.sys.text.neutral.lv1}" />
|
|
|
|
|
|
+ Foreground="{StaticResource color.sys.text.neutral.lv1}"
|
|
|
|
+ IsChecked="{Binding Descript.RecoveryViewWhenOpen, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
|
|
<Label
|
|
<Label
|
|
Margin="8"
|
|
Margin="8"
|
|
Content="最近打开中文档最多显示数量:"
|
|
Content="最近打开中文档最多显示数量:"
|
|
@@ -164,7 +168,9 @@
|
|
BorderThickness="0"
|
|
BorderThickness="0"
|
|
FontSize="14"
|
|
FontSize="14"
|
|
Foreground="{StaticResource color.field.text.act}"
|
|
Foreground="{StaticResource color.field.text.act}"
|
|
- Text="20" />
|
|
|
|
|
|
+ Maximum="50"
|
|
|
|
+ Minimum="10"
|
|
|
|
+ Value="{Binding Descript.FileCountInRecentFiles, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
|
|
<TextBlock
|
|
<TextBlock
|
|
Margin="8,0"
|
|
Margin="8,0"
|
|
VerticalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
@@ -172,7 +178,11 @@
|
|
Text="10 to 50" />
|
|
Text="10 to 50" />
|
|
</StackPanel>
|
|
</StackPanel>
|
|
<StackPanel Margin="8" Orientation="Horizontal">
|
|
<StackPanel Margin="8" Orientation="Horizontal">
|
|
- <CheckBox Content="APP自动保存文件,频次为每" Foreground="{StaticResource color.sys.text.neutral.lv1}" />
|
|
|
|
|
|
+ <CheckBox
|
|
|
|
+ Name="ChkAutoSave"
|
|
|
|
+ Content="APP自动保存文件,频次为每"
|
|
|
|
+ Foreground="{StaticResource color.sys.text.neutral.lv1}"
|
|
|
|
+ IsChecked="{Binding Descript.AutoSave, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
|
|
<cus:NumericUpDown
|
|
<cus:NumericUpDown
|
|
Width="120"
|
|
Width="120"
|
|
Margin="8,0,0,0"
|
|
Margin="8,0,0,0"
|
|
@@ -180,7 +190,10 @@
|
|
BorderThickness="0"
|
|
BorderThickness="0"
|
|
FontSize="14"
|
|
FontSize="14"
|
|
Foreground="{StaticResource color.field.text.act}"
|
|
Foreground="{StaticResource color.field.text.act}"
|
|
- Text="10" />
|
|
|
|
|
|
+ IsEnabled="{Binding ElementName=ChkAutoSave, Path=IsChecked}"
|
|
|
|
+ Maximum="99"
|
|
|
|
+ Minimum="5"
|
|
|
|
+ Value="{Binding Descript.AutoSaveInterval, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
|
|
<Label
|
|
<Label
|
|
Margin="8,0,0,0"
|
|
Margin="8,0,0,0"
|
|
Content="min"
|
|
Content="min"
|
|
@@ -193,7 +206,7 @@
|
|
</StackPanel>
|
|
</StackPanel>
|
|
<Grid Margin="8">
|
|
<Grid Margin="8">
|
|
<Grid.ColumnDefinitions>
|
|
<Grid.ColumnDefinitions>
|
|
- <ColumnDefinition Width="64" />
|
|
|
|
|
|
+ <ColumnDefinition Width="auto" />
|
|
<ColumnDefinition />
|
|
<ColumnDefinition />
|
|
</Grid.ColumnDefinitions>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<Grid.RowDefinitions>
|
|
@@ -209,12 +222,14 @@
|
|
Grid.Row="0"
|
|
Grid.Row="0"
|
|
Grid.Column="1"
|
|
Grid.Column="1"
|
|
Content="弹出“保存/不保存”提示"
|
|
Content="弹出“保存/不保存”提示"
|
|
|
|
+ IsChecked="{Binding Descript.ShowSaveWhenClose, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
|
|
Style="{DynamicResource RadioButtonStyle1}" />
|
|
Style="{DynamicResource RadioButtonStyle1}" />
|
|
<RadioButton
|
|
<RadioButton
|
|
Grid.Row="1"
|
|
Grid.Row="1"
|
|
Grid.Column="1"
|
|
Grid.Column="1"
|
|
Margin="0,8"
|
|
Margin="0,8"
|
|
Content="无提示,直接保存"
|
|
Content="无提示,直接保存"
|
|
|
|
+ IsChecked="{Binding Descript.NotShowSaveWhenClose, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
|
|
Style="{DynamicResource RadioButtonStyle1}" />
|
|
Style="{DynamicResource RadioButtonStyle1}" />
|
|
</Grid>
|
|
</Grid>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
@@ -229,11 +244,13 @@
|
|
<RadioButton
|
|
<RadioButton
|
|
Margin="9,12,0,0"
|
|
Margin="9,12,0,0"
|
|
Content="自动扫描并识别文本"
|
|
Content="自动扫描并识别文本"
|
|
|
|
+ IsChecked="{Binding Descript.AutoScanImageFile, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
|
|
Style="{DynamicResource RadioButtonStyle1}" />
|
|
Style="{DynamicResource RadioButtonStyle1}" />
|
|
<RadioButton
|
|
<RadioButton
|
|
Grid.Row="1"
|
|
Grid.Row="1"
|
|
Margin="9,10"
|
|
Margin="9,10"
|
|
Content="提示扫描并识别文本"
|
|
Content="提示扫描并识别文本"
|
|
|
|
+ IsChecked="{Binding Descript.TipScanImageFile, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
|
|
Style="{DynamicResource RadioButtonStyle1}" />
|
|
Style="{DynamicResource RadioButtonStyle1}" />
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</Border>
|
|
</Border>
|
|
@@ -247,30 +264,15 @@
|
|
Width="224"
|
|
Width="224"
|
|
VerticalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
Foreground="{StaticResource color.field.text.act}"
|
|
Foreground="{StaticResource color.field.text.act}"
|
|
- Text="User name" />
|
|
|
|
|
|
+ Text="{Binding Descript.Author, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
|
|
</WrapPanel>
|
|
</WrapPanel>
|
|
<CheckBox
|
|
<CheckBox
|
|
Name="CheckBoxDefaultPDF"
|
|
Name="CheckBoxDefaultPDF"
|
|
Margin="8,16"
|
|
Margin="8,16"
|
|
- Content="设置为默认PDF阅读器"
|
|
|
|
- Foreground="{StaticResource color.sys.text.neutral.lv1}" />
|
|
|
|
- <StackPanel Visibility="{Binding ElementName=CheckBoxDefaultPDF, Path=IsChecked, Converter={StaticResource BoolToVisible}}">
|
|
|
|
- <Label Content="在Keychain中保存密码:" Style="{StaticResource Label}" />
|
|
|
|
- <WrapPanel>
|
|
|
|
- <RadioButton
|
|
|
|
- Margin="5,16,16,16"
|
|
|
|
- Content="总是使用"
|
|
|
|
- Style="{DynamicResource RadioButtonStyle1}" />
|
|
|
|
- <RadioButton
|
|
|
|
- Margin="0,16"
|
|
|
|
- Content="永不"
|
|
|
|
- Style="{DynamicResource RadioButtonStyle1}" />
|
|
|
|
- <RadioButton
|
|
|
|
- Margin="16"
|
|
|
|
- Content="询问"
|
|
|
|
- Style="{DynamicResource RadioButtonStyle1}" />
|
|
|
|
- </WrapPanel>
|
|
|
|
- </StackPanel>
|
|
|
|
|
|
+ Content="设置为默认PDF阅读器(需要管理员权限)"
|
|
|
|
+ Foreground="{StaticResource color.sys.text.neutral.lv1}"
|
|
|
|
+ IsChecked="{Binding IsDefualtApp, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
|
|
|
|
+ IsEnabled="{Binding IsSetDefualtAppEnable}" />
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</ScrollViewer>
|
|
</ScrollViewer>
|
|
</TabItem>
|
|
</TabItem>
|
|
@@ -307,7 +309,8 @@
|
|
<ComboBox
|
|
<ComboBox
|
|
Width="348"
|
|
Width="348"
|
|
Height="30"
|
|
Height="30"
|
|
- SelectedIndex="0">
|
|
|
|
|
|
+ ItemsSource="{Binding PageViewList}"
|
|
|
|
+ SelectedIndex="{Binding PageViewSelctedIndex, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}">
|
|
<ComboBoxItem Content="单页" Foreground="{StaticResource color.field.text.act}" />
|
|
<ComboBoxItem Content="单页" Foreground="{StaticResource color.field.text.act}" />
|
|
<ComboBoxItem Content="单页连续" Foreground="{StaticResource color.field.text.act}" />
|
|
<ComboBoxItem Content="单页连续" Foreground="{StaticResource color.field.text.act}" />
|
|
<ComboBoxItem Content="双页" Foreground="{StaticResource color.field.text.act}" />
|
|
<ComboBoxItem Content="双页" Foreground="{StaticResource color.field.text.act}" />
|
|
@@ -324,10 +327,9 @@
|
|
<ComboBox
|
|
<ComboBox
|
|
Width="348"
|
|
Width="348"
|
|
Height="30"
|
|
Height="30"
|
|
- SelectedIndex="0">
|
|
|
|
- <ComboBoxItem Content="适应宽度" Foreground="{StaticResource color.field.text.act}" />
|
|
|
|
- <ComboBoxItem Content="适应页面" Foreground="{StaticResource color.field.text.act}" />
|
|
|
|
- <ComboBoxItem Content="实际大小" Foreground="{StaticResource color.field.text.act}" />
|
|
|
|
|
|
+ ItemsSource="{Binding ZoomModeList}"
|
|
|
|
+ SelectedIndex="{Binding ZoomModeSelectedIndex, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}">
|
|
|
|
+
|
|
</ComboBox>
|
|
</ComboBox>
|
|
</WrapPanel>
|
|
</WrapPanel>
|
|
</Grid>
|
|
</Grid>
|
|
@@ -346,15 +348,18 @@
|
|
<RadioButton
|
|
<RadioButton
|
|
Margin="12"
|
|
Margin="12"
|
|
Content="打开文件时收起"
|
|
Content="打开文件时收起"
|
|
|
|
+ IsChecked="{Binding View.NotShowBOTA, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
|
|
Style="{DynamicResource RadioButtonStyle1}" />
|
|
Style="{DynamicResource RadioButtonStyle1}" />
|
|
<RadioButton
|
|
<RadioButton
|
|
Margin="12,0,0,8"
|
|
Margin="12,0,0,8"
|
|
Content="打开APP记住上次选择"
|
|
Content="打开APP记住上次选择"
|
|
|
|
+ IsChecked="{Binding View.RememberBOTA, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
|
|
Style="{DynamicResource RadioButtonStyle1}" />
|
|
Style="{DynamicResource RadioButtonStyle1}" />
|
|
<CheckBox
|
|
<CheckBox
|
|
Margin="12,0,0,10"
|
|
Margin="12,0,0,10"
|
|
Content="有大纲时默认显示大纲列表"
|
|
Content="有大纲时默认显示大纲列表"
|
|
- Foreground="{StaticResource color.sys.text.neutral.lv1}" />
|
|
|
|
|
|
+ Foreground="{StaticResource color.sys.text.neutral.lv1}"
|
|
|
|
+ IsChecked="{Binding View.ShowOutLine}" />
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</Border>
|
|
</Border>
|
|
|
|
|
|
@@ -368,98 +373,43 @@
|
|
Margin="8,5"
|
|
Margin="8,5"
|
|
Content="显示方式:"
|
|
Content="显示方式:"
|
|
Style="{StaticResource Label2}" />
|
|
Style="{StaticResource Label2}" />
|
|
- <RadioButton Content="自动展开" Style="{DynamicResource RadioButtonStyle1}" />
|
|
|
|
|
|
+ <RadioButton
|
|
|
|
+ Content="自动展开"
|
|
|
|
+ IsChecked="{Binding View.AutoExpandProperty}"
|
|
|
|
+ Style="{DynamicResource RadioButtonStyle1}" />
|
|
<RadioButton
|
|
<RadioButton
|
|
Margin="8,5"
|
|
Margin="8,5"
|
|
Content="手动展开"
|
|
Content="手动展开"
|
|
|
|
+ IsChecked="{Binding View.ClickOpenProperty}"
|
|
Style="{DynamicResource RadioButtonStyle1}" />
|
|
Style="{DynamicResource RadioButtonStyle1}" />
|
|
</WrapPanel>
|
|
</WrapPanel>
|
|
</Border>
|
|
</Border>
|
|
|
|
|
|
- <Label Content="页码指示符:" Style="{StaticResource Label}" />
|
|
|
|
- <WrapPanel Margin="6,10,6,18">
|
|
|
|
- <RadioButton Content="自动展开" Style="{DynamicResource RadioButtonStyle1}" />
|
|
|
|
- <RadioButton
|
|
|
|
- Margin="17,0"
|
|
|
|
- Content="总是显示"
|
|
|
|
- Style="{DynamicResource RadioButtonStyle1}" />
|
|
|
|
- <RadioButton Content="永不显示" Style="{DynamicResource RadioButtonStyle1}" />
|
|
|
|
- </WrapPanel>
|
|
|
|
<Label Content="背景色:" Style="{StaticResource Label}" />
|
|
<Label Content="背景色:" Style="{StaticResource Label}" />
|
|
<WrapPanel>
|
|
<WrapPanel>
|
|
<Label Content="正常:" Style="{StaticResource Label2}" />
|
|
<Label Content="正常:" Style="{StaticResource Label2}" />
|
|
- <Border
|
|
|
|
- Margin="10"
|
|
|
|
- BorderBrush="{StaticResource color.field.border.norm}"
|
|
|
|
- BorderThickness="1"
|
|
|
|
- CornerRadius="4">
|
|
|
|
- <StackPanel Orientation="Horizontal">
|
|
|
|
- <Ellipse
|
|
|
|
- Width="20"
|
|
|
|
- Height="20"
|
|
|
|
- Margin="4,0"
|
|
|
|
- Fill="#F3465B" />
|
|
|
|
- <cus:ColorDropBox Margin="4,0" />
|
|
|
|
- </StackPanel>
|
|
|
|
- </Border>
|
|
|
|
|
|
+ <compositecontrol:ColorContent SelectedColor="{Binding View.BackGround, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" ShowColorList="Collapsed" />
|
|
<Label Content="全屏:" Style="{StaticResource Label}" />
|
|
<Label Content="全屏:" Style="{StaticResource Label}" />
|
|
- <Border
|
|
|
|
- Margin="10"
|
|
|
|
- BorderBrush="{StaticResource color.field.border.norm}"
|
|
|
|
- BorderThickness="1"
|
|
|
|
- CornerRadius="4">
|
|
|
|
- <StackPanel Margin="5" Orientation="Horizontal">
|
|
|
|
- <Ellipse
|
|
|
|
- Width="20"
|
|
|
|
- Height="20"
|
|
|
|
- Margin="4,0"
|
|
|
|
- Fill="#FFAF25" />
|
|
|
|
- <cus:ColorDropBox Margin="4,0" />
|
|
|
|
- </StackPanel>
|
|
|
|
- </Border>
|
|
|
|
|
|
+ <compositecontrol:ColorContent SelectedColor="{Binding View.BackGroundInFulWindow, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" ShowColorList="Collapsed" />
|
|
</WrapPanel>
|
|
</WrapPanel>
|
|
<CheckBox
|
|
<CheckBox
|
|
Margin="5,0,0,8"
|
|
Margin="5,0,0,8"
|
|
Content="高亮表单"
|
|
Content="高亮表单"
|
|
- Foreground="{StaticResource color.sys.text.neutral.lv1}" />
|
|
|
|
|
|
+ Foreground="{StaticResource color.sys.text.neutral.lv1}"
|
|
|
|
+ IsChecked="{Binding View.HignlightForm, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
|
|
<WrapPanel>
|
|
<WrapPanel>
|
|
<Label Content="域高亮色:" Style="{StaticResource Label2}" />
|
|
<Label Content="域高亮色:" Style="{StaticResource Label2}" />
|
|
- <Border
|
|
|
|
- Margin="10"
|
|
|
|
- BorderBrush="{StaticResource color.field.border.norm}"
|
|
|
|
- BorderThickness="1"
|
|
|
|
- CornerRadius="4">
|
|
|
|
- <StackPanel Margin="5" Orientation="Horizontal">
|
|
|
|
- <Ellipse
|
|
|
|
- Width="20"
|
|
|
|
- Height="20"
|
|
|
|
- Margin="4,0"
|
|
|
|
- Fill="#BDDFFD" />
|
|
|
|
- <cus:ColorDropBox Margin="4,0" />
|
|
|
|
- </StackPanel>
|
|
|
|
- </Border>
|
|
|
|
|
|
+ <compositecontrol:ColorContent SelectedColor="{Binding View.FormHighLightColor, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" ShowColorList="Collapsed" />
|
|
</WrapPanel>
|
|
</WrapPanel>
|
|
<WrapPanel>
|
|
<WrapPanel>
|
|
<Label Content="必填栏高亮色:" Style="{StaticResource Label2}" />
|
|
<Label Content="必填栏高亮色:" Style="{StaticResource Label2}" />
|
|
- <Border
|
|
|
|
- Margin="10"
|
|
|
|
- BorderBrush="{StaticResource color.field.border.norm}"
|
|
|
|
- BorderThickness="1"
|
|
|
|
- CornerRadius="4">
|
|
|
|
- <StackPanel Margin="5" Orientation="Horizontal">
|
|
|
|
- <Ellipse
|
|
|
|
- Width="20"
|
|
|
|
- Height="20"
|
|
|
|
- Margin="4,0"
|
|
|
|
- Fill="#1770F4" />
|
|
|
|
- <cus:ColorDropBox Margin="4,0" />
|
|
|
|
- </StackPanel>
|
|
|
|
- </Border>
|
|
|
|
|
|
+ <compositecontrol:ColorContent SelectedColor="{Binding View.RequiredFieldsColor, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" ShowColorList="Collapsed" />
|
|
</WrapPanel>
|
|
</WrapPanel>
|
|
<CheckBox
|
|
<CheckBox
|
|
Margin="5,0,0,8"
|
|
Margin="5,0,0,8"
|
|
Content="高亮链接"
|
|
Content="高亮链接"
|
|
- Foreground="{StaticResource color.sys.text.neutral.lv1}" />
|
|
|
|
|
|
+ Foreground="{StaticResource color.sys.text.neutral.lv1}"
|
|
|
|
+ IsChecked="{Binding View.HighlightLink, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</ScrollViewer>
|
|
</ScrollViewer>
|
|
</TabItem>
|
|
</TabItem>
|
|
@@ -500,236 +450,115 @@
|
|
</Grid.RowDefinitions>
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
<Label Content="highlights:" Style="{StaticResource Label2}" />
|
|
<Label Content="highlights:" Style="{StaticResource Label2}" />
|
|
- <Border
|
|
|
|
|
|
+ <compositecontrol:ColorContent
|
|
Grid.Column="1"
|
|
Grid.Column="1"
|
|
- Width="66"
|
|
|
|
Margin="10"
|
|
Margin="10"
|
|
- BorderBrush="{StaticResource color.field.border.norm}"
|
|
|
|
- BorderThickness="1"
|
|
|
|
- CornerRadius="4">
|
|
|
|
- <StackPanel Margin="5" Orientation="Horizontal">
|
|
|
|
- <Ellipse
|
|
|
|
- Width="20"
|
|
|
|
- Height="20"
|
|
|
|
- Margin="4,0"
|
|
|
|
- Fill="#F3465B" />
|
|
|
|
- <cus:ColorDropBox Margin="4,0" />
|
|
|
|
- </StackPanel>
|
|
|
|
- </Border>
|
|
|
|
|
|
+ SelectedColor="{Binding Annote.HighLightColor, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
|
|
|
|
+ ShowColorList="Collapsed" />
|
|
|
|
|
|
<Label
|
|
<Label
|
|
Grid.Column="2"
|
|
Grid.Column="2"
|
|
Content="Rectangular borders:"
|
|
Content="Rectangular borders:"
|
|
Style="{StaticResource Label2}" />
|
|
Style="{StaticResource Label2}" />
|
|
- <Border
|
|
|
|
|
|
+ <compositecontrol:ColorContent
|
|
Grid.Column="3"
|
|
Grid.Column="3"
|
|
- Width="66"
|
|
|
|
Margin="10"
|
|
Margin="10"
|
|
- BorderBrush="{StaticResource color.field.border.norm}"
|
|
|
|
- BorderThickness="1"
|
|
|
|
- CornerRadius="4">
|
|
|
|
- <StackPanel Margin="5" Orientation="Horizontal">
|
|
|
|
- <Ellipse
|
|
|
|
- Width="20"
|
|
|
|
- Height="20"
|
|
|
|
- Margin="4,0"
|
|
|
|
- Fill="#F3465B" />
|
|
|
|
- <cus:ColorDropBox Margin="4,0" />
|
|
|
|
- </StackPanel>
|
|
|
|
- </Border>
|
|
|
|
|
|
+ SelectedColor="{Binding Annote.RectangleBorderColor, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
|
|
|
|
+ ShowColorList="Collapsed" />
|
|
<Label
|
|
<Label
|
|
Grid.Row="1"
|
|
Grid.Row="1"
|
|
Content="Strikthrough:"
|
|
Content="Strikthrough:"
|
|
Style="{StaticResource Label2}" />
|
|
Style="{StaticResource Label2}" />
|
|
- <Border
|
|
|
|
|
|
+ <compositecontrol:ColorContent
|
|
Grid.Row="1"
|
|
Grid.Row="1"
|
|
Grid.Column="1"
|
|
Grid.Column="1"
|
|
- Width="66"
|
|
|
|
Margin="10"
|
|
Margin="10"
|
|
- BorderBrush="{StaticResource color.field.border.norm}"
|
|
|
|
- BorderThickness="1"
|
|
|
|
- CornerRadius="4">
|
|
|
|
- <StackPanel Margin="5" Orientation="Horizontal">
|
|
|
|
- <Ellipse
|
|
|
|
- Width="20"
|
|
|
|
- Height="20"
|
|
|
|
- Margin="4,0"
|
|
|
|
- Fill="#F3465B" />
|
|
|
|
- <cus:ColorDropBox Margin="4,0" />
|
|
|
|
- </StackPanel>
|
|
|
|
- </Border>
|
|
|
|
|
|
+ SelectedColor="{Binding Annote.StrikethroughColor, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
|
|
|
|
+ ShowColorList="Collapsed" />
|
|
<Label
|
|
<Label
|
|
Grid.Row="1"
|
|
Grid.Row="1"
|
|
Grid.Column="2"
|
|
Grid.Column="2"
|
|
Content="Round borders:"
|
|
Content="Round borders:"
|
|
Style="{StaticResource Label2}" />
|
|
Style="{StaticResource Label2}" />
|
|
- <Border
|
|
|
|
|
|
+ <compositecontrol:ColorContent
|
|
Grid.Row="1"
|
|
Grid.Row="1"
|
|
Grid.Column="3"
|
|
Grid.Column="3"
|
|
- Width="66"
|
|
|
|
Margin="10"
|
|
Margin="10"
|
|
- BorderBrush="{StaticResource color.field.border.norm}"
|
|
|
|
- BorderThickness="1"
|
|
|
|
- CornerRadius="4">
|
|
|
|
- <StackPanel Margin="5" Orientation="Horizontal">
|
|
|
|
- <Ellipse
|
|
|
|
- Width="20"
|
|
|
|
- Height="20"
|
|
|
|
- Margin="4,0"
|
|
|
|
- Fill="#F3465B" />
|
|
|
|
- <cus:ColorDropBox Margin="4,0" />
|
|
|
|
- </StackPanel>
|
|
|
|
- </Border>
|
|
|
|
|
|
+ SelectedColor="{Binding Annote.CircleBorderColor, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
|
|
|
|
+ ShowColorList="Collapsed" />
|
|
<Label
|
|
<Label
|
|
Grid.Row="2"
|
|
Grid.Row="2"
|
|
Content="Underline:"
|
|
Content="Underline:"
|
|
Style="{StaticResource Label2}" />
|
|
Style="{StaticResource Label2}" />
|
|
- <Border
|
|
|
|
|
|
+ <compositecontrol:ColorContent
|
|
Grid.Row="2"
|
|
Grid.Row="2"
|
|
Grid.Column="1"
|
|
Grid.Column="1"
|
|
- Width="66"
|
|
|
|
Margin="10"
|
|
Margin="10"
|
|
- BorderBrush="{StaticResource color.field.border.norm}"
|
|
|
|
- BorderThickness="1"
|
|
|
|
- CornerRadius="4">
|
|
|
|
- <StackPanel Margin="5" Orientation="Horizontal">
|
|
|
|
- <Ellipse
|
|
|
|
- Width="20"
|
|
|
|
- Height="20"
|
|
|
|
- Margin="4,0"
|
|
|
|
- Fill="#F3465B" />
|
|
|
|
- <cus:ColorDropBox Margin="4,0" />
|
|
|
|
- </StackPanel>
|
|
|
|
- </Border>
|
|
|
|
|
|
+ SelectedColor="{Binding Annote.UnderLineColor, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
|
|
|
|
+ ShowColorList="Collapsed" />
|
|
<Label
|
|
<Label
|
|
Grid.Row="2"
|
|
Grid.Row="2"
|
|
Grid.Column="2"
|
|
Grid.Column="2"
|
|
Content="Line segment:"
|
|
Content="Line segment:"
|
|
Style="{StaticResource Label2}" />
|
|
Style="{StaticResource Label2}" />
|
|
- <Border
|
|
|
|
|
|
+ <compositecontrol:ColorContent
|
|
Grid.Row="2"
|
|
Grid.Row="2"
|
|
Grid.Column="3"
|
|
Grid.Column="3"
|
|
- Width="66"
|
|
|
|
Margin="10"
|
|
Margin="10"
|
|
- BorderBrush="{StaticResource color.field.border.norm}"
|
|
|
|
- BorderThickness="1"
|
|
|
|
- CornerRadius="4">
|
|
|
|
- <StackPanel Margin="5" Orientation="Horizontal">
|
|
|
|
- <Ellipse
|
|
|
|
- Width="20"
|
|
|
|
- Height="20"
|
|
|
|
- Margin="4,0"
|
|
|
|
- Fill="#F3465B" />
|
|
|
|
- <cus:ColorDropBox Margin="4,0" />
|
|
|
|
- </StackPanel>
|
|
|
|
- </Border>
|
|
|
|
|
|
+ SelectedColor="{Binding Annote.LineColor, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
|
|
|
|
+ ShowColorList="Collapsed" />
|
|
<Label
|
|
<Label
|
|
Grid.Row="3"
|
|
Grid.Row="3"
|
|
Content="Draw:"
|
|
Content="Draw:"
|
|
Style="{StaticResource Label2}" />
|
|
Style="{StaticResource Label2}" />
|
|
- <Border
|
|
|
|
|
|
+ <compositecontrol:ColorContent
|
|
Grid.Row="3"
|
|
Grid.Row="3"
|
|
Grid.Column="1"
|
|
Grid.Column="1"
|
|
- Width="66"
|
|
|
|
Margin="10"
|
|
Margin="10"
|
|
- BorderBrush="{StaticResource color.field.border.norm}"
|
|
|
|
- BorderThickness="1"
|
|
|
|
- CornerRadius="4">
|
|
|
|
- <StackPanel Margin="5" Orientation="Horizontal">
|
|
|
|
- <Ellipse
|
|
|
|
- Width="20"
|
|
|
|
- Height="20"
|
|
|
|
- Margin="4,0"
|
|
|
|
- Fill="#F3465B" />
|
|
|
|
- <cus:ColorDropBox Margin="4,0" />
|
|
|
|
- </StackPanel>
|
|
|
|
- </Border>
|
|
|
|
|
|
+ SelectedColor="{Binding Annote.FreeHandColor, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
|
|
|
|
+ ShowColorList="Collapsed" />
|
|
<Label
|
|
<Label
|
|
Grid.Row="3"
|
|
Grid.Row="3"
|
|
Grid.Column="2"
|
|
Grid.Column="2"
|
|
Content="Rectangular Fill:"
|
|
Content="Rectangular Fill:"
|
|
Style="{StaticResource Label2}" />
|
|
Style="{StaticResource Label2}" />
|
|
- <Border
|
|
|
|
|
|
+ <compositecontrol:ColorContent
|
|
Grid.Row="3"
|
|
Grid.Row="3"
|
|
Grid.Column="3"
|
|
Grid.Column="3"
|
|
- Width="66"
|
|
|
|
Margin="10"
|
|
Margin="10"
|
|
- BorderBrush="{StaticResource color.field.border.norm}"
|
|
|
|
- BorderThickness="1"
|
|
|
|
- CornerRadius="4">
|
|
|
|
- <StackPanel Margin="5" Orientation="Horizontal">
|
|
|
|
- <Ellipse
|
|
|
|
- Width="20"
|
|
|
|
- Height="20"
|
|
|
|
- Margin="4,0"
|
|
|
|
- Fill="#F3465B" />
|
|
|
|
- <cus:ColorDropBox Margin="4,0" />
|
|
|
|
- </StackPanel>
|
|
|
|
- </Border>
|
|
|
|
|
|
+ SelectedColor="{Binding Annote.RectangleFillColor, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
|
|
|
|
+ ShowColorList="Collapsed" />
|
|
<Label
|
|
<Label
|
|
Grid.Row="4"
|
|
Grid.Row="4"
|
|
Content="Text Notes:"
|
|
Content="Text Notes:"
|
|
Style="{StaticResource Label2}" />
|
|
Style="{StaticResource Label2}" />
|
|
- <Border
|
|
|
|
|
|
+ <compositecontrol:ColorContent
|
|
Grid.Row="4"
|
|
Grid.Row="4"
|
|
Grid.Column="1"
|
|
Grid.Column="1"
|
|
- Width="66"
|
|
|
|
Margin="10"
|
|
Margin="10"
|
|
- BorderBrush="{StaticResource color.field.border.norm}"
|
|
|
|
- BorderThickness="1"
|
|
|
|
- CornerRadius="4">
|
|
|
|
- <StackPanel Margin="5" Orientation="Horizontal">
|
|
|
|
- <Ellipse
|
|
|
|
- Width="20"
|
|
|
|
- Height="20"
|
|
|
|
- Margin="4,0"
|
|
|
|
- Fill="#F3465B" />
|
|
|
|
- <cus:ColorDropBox Margin="4,0" />
|
|
|
|
- </StackPanel>
|
|
|
|
- </Border>
|
|
|
|
|
|
+ SelectedColor="{Binding Annote.TextAnnoteColor, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
|
|
|
|
+ ShowColorList="Collapsed" />
|
|
<Label
|
|
<Label
|
|
Grid.Row="4"
|
|
Grid.Row="4"
|
|
Grid.Column="2"
|
|
Grid.Column="2"
|
|
Content="Round filling:"
|
|
Content="Round filling:"
|
|
Style="{StaticResource Label2}" />
|
|
Style="{StaticResource Label2}" />
|
|
- <Border
|
|
|
|
|
|
+ <compositecontrol:ColorContent
|
|
Grid.Row="4"
|
|
Grid.Row="4"
|
|
Grid.Column="3"
|
|
Grid.Column="3"
|
|
- Width="66"
|
|
|
|
Margin="10"
|
|
Margin="10"
|
|
- BorderBrush="{StaticResource color.field.border.norm}"
|
|
|
|
- BorderThickness="1"
|
|
|
|
- CornerRadius="4">
|
|
|
|
- <StackPanel Margin="5" Orientation="Horizontal">
|
|
|
|
- <Ellipse
|
|
|
|
- Width="20"
|
|
|
|
- Height="20"
|
|
|
|
- Margin="4,0"
|
|
|
|
- Fill="#F3465B" />
|
|
|
|
- <cus:ColorDropBox Margin="4,0" />
|
|
|
|
- </StackPanel>
|
|
|
|
- </Border>
|
|
|
|
|
|
+ SelectedColor="{Binding Annote.CircleFillColor, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
|
|
|
|
+ ShowColorList="Collapsed" />
|
|
<Label
|
|
<Label
|
|
Grid.Row="5"
|
|
Grid.Row="5"
|
|
Content="Notes:"
|
|
Content="Notes:"
|
|
Style="{StaticResource Label2}" />
|
|
Style="{StaticResource Label2}" />
|
|
- <Border
|
|
|
|
|
|
+ <compositecontrol:ColorContent
|
|
Grid.Row="5"
|
|
Grid.Row="5"
|
|
Grid.Column="1"
|
|
Grid.Column="1"
|
|
- Width="66"
|
|
|
|
Margin="10"
|
|
Margin="10"
|
|
- BorderBrush="{StaticResource color.field.border.norm}"
|
|
|
|
- BorderThickness="1"
|
|
|
|
- CornerRadius="4">
|
|
|
|
- <StackPanel Margin="5" Orientation="Horizontal">
|
|
|
|
- <Ellipse
|
|
|
|
- Width="20"
|
|
|
|
- Height="20"
|
|
|
|
- Margin="4,0"
|
|
|
|
- Fill="#F3465B" />
|
|
|
|
- <cus:ColorDropBox Margin="4,0" />
|
|
|
|
- </StackPanel>
|
|
|
|
- </Border>
|
|
|
|
|
|
+ SelectedColor="{Binding Annote.NoteAnnoteColor, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
|
|
|
|
+ ShowColorList="Collapsed" />
|
|
</Grid>
|
|
</Grid>
|
|
</Border>
|
|
</Border>
|
|
|
|
|
|
@@ -740,44 +569,172 @@
|
|
<ComboBox
|
|
<ComboBox
|
|
Width="228"
|
|
Width="228"
|
|
Height="30"
|
|
Height="30"
|
|
- SelectedIndex="0">
|
|
|
|
|
|
+ SelectedIndex="{Binding AnnoteSelectedIndex, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}">
|
|
<ComboBoxItem Content="系统字体" Foreground="{StaticResource color.field.text.act}" />
|
|
<ComboBoxItem Content="系统字体" Foreground="{StaticResource color.field.text.act}" />
|
|
<ComboBoxItem Content="PingFang" Foreground="{StaticResource color.field.text.act}" />
|
|
<ComboBoxItem Content="PingFang" Foreground="{StaticResource color.field.text.act}" />
|
|
</ComboBox>
|
|
</ComboBox>
|
|
- <ToggleButton
|
|
|
|
|
|
+ <RadioButton
|
|
|
|
+ Name="RbtLeft"
|
|
Width="32"
|
|
Width="32"
|
|
Height="32"
|
|
Height="32"
|
|
Margin="8,8,0,8"
|
|
Margin="8,8,0,8"
|
|
HorizontalAlignment="Center"
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
- Style="{StaticResource infoText1}" />
|
|
|
|
- <ToggleButton
|
|
|
|
|
|
+ IsChecked="{Binding LeftSelected}"
|
|
|
|
+ Style="{StaticResource GreyBgRadioBtnStyle}">
|
|
|
|
+ <Grid Width="32" Height="32">
|
|
|
|
+ <Canvas Margin="5,10,0,0">
|
|
|
|
+ <Rectangle
|
|
|
|
+ Canvas.Top="0.25"
|
|
|
|
+ Width="14"
|
|
|
|
+ Height="1.5"
|
|
|
|
+ Stroke="{Binding ElementName=RbtLeft, Path=Foreground}"
|
|
|
|
+ StrokeThickness="1.5" />
|
|
|
|
+ <Rectangle
|
|
|
|
+ Canvas.Top="4.25"
|
|
|
|
+ Width="8"
|
|
|
|
+ Height="1.5"
|
|
|
|
+ Stroke="{Binding ElementName=RbtLeft, Path=Foreground}"
|
|
|
|
+ StrokeThickness="1.5" />
|
|
|
|
+ <Rectangle
|
|
|
|
+ Canvas.Top="12.25"
|
|
|
|
+ Width="8"
|
|
|
|
+ Height="1.5"
|
|
|
|
+ Stroke="{Binding ElementName=RbtLeft, Path=Foreground}"
|
|
|
|
+ StrokeThickness="1.5" />
|
|
|
|
+ <Rectangle
|
|
|
|
+ Canvas.Top="8.25"
|
|
|
|
+ Width="14"
|
|
|
|
+ Height="1.5"
|
|
|
|
+ Stroke="{Binding ElementName=RbtLeft, Path=Foreground}"
|
|
|
|
+ StrokeThickness="1.5" />
|
|
|
|
+ </Canvas>
|
|
|
|
+ </Grid>
|
|
|
|
+ </RadioButton>
|
|
|
|
+ <RadioButton
|
|
|
|
+ Name="RbtCenter"
|
|
Width="32"
|
|
Width="32"
|
|
Height="32"
|
|
Height="32"
|
|
Margin="8"
|
|
Margin="8"
|
|
HorizontalAlignment="Center"
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
- Style="{StaticResource infoText2}" />
|
|
|
|
- <ToggleButton
|
|
|
|
|
|
+ IsChecked="{Binding CenterSelected}"
|
|
|
|
+ Style="{StaticResource GreyBgRadioBtnStyle}">
|
|
|
|
+ <Grid Width="32" Height="32">
|
|
|
|
+ <Canvas Margin="5,10,0,0">
|
|
|
|
+ <Rectangle
|
|
|
|
+ Canvas.Top="0.25"
|
|
|
|
+ Width="14"
|
|
|
|
+ Height="1.5"
|
|
|
|
+ Stroke="{Binding ElementName=RbtCenter, Path=Foreground}"
|
|
|
|
+ StrokeThickness="1.5" />
|
|
|
|
+ <Rectangle
|
|
|
|
+ Canvas.Left="3"
|
|
|
|
+ Canvas.Top="4.25"
|
|
|
|
+ Width="8"
|
|
|
|
+ Height="1.5"
|
|
|
|
+ Stroke="{Binding ElementName=RbtCenter, Path=Foreground}"
|
|
|
|
+ StrokeThickness="1.5" />
|
|
|
|
+ <Rectangle
|
|
|
|
+ Canvas.Left="3"
|
|
|
|
+ Canvas.Top="12.25"
|
|
|
|
+ Width="8"
|
|
|
|
+ Height="1.5"
|
|
|
|
+ Stroke="{Binding ElementName=RbtCenter, Path=Foreground}"
|
|
|
|
+ StrokeThickness="1.5" />
|
|
|
|
+ <Rectangle
|
|
|
|
+ Canvas.Top="8.25"
|
|
|
|
+ Width="14"
|
|
|
|
+ Height="1.5"
|
|
|
|
+ Stroke="{Binding ElementName=RbtCenter, Path=Foreground}"
|
|
|
|
+ StrokeThickness="1.5" />
|
|
|
|
+ </Canvas>
|
|
|
|
+ </Grid>
|
|
|
|
+ </RadioButton>
|
|
|
|
+ <RadioButton
|
|
|
|
+ Name="RbtRight"
|
|
Width="32"
|
|
Width="32"
|
|
Height="32"
|
|
Height="32"
|
|
Margin="0,8,8,8"
|
|
Margin="0,8,8,8"
|
|
HorizontalAlignment="Center"
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
- Style="{StaticResource infoText3}" />
|
|
|
|
- <ToggleButton
|
|
|
|
|
|
+ IsChecked="{Binding RightSelected}"
|
|
|
|
+ Style="{StaticResource GreyBgRadioBtnStyle}">
|
|
|
|
+ <Grid Width="32" Height="32">
|
|
|
|
+ <Canvas Margin="5,10,0,0">
|
|
|
|
+ <Rectangle
|
|
|
|
+ Canvas.Top="0.25"
|
|
|
|
+ Width="14"
|
|
|
|
+ Height="1.5"
|
|
|
|
+ Stroke="{Binding ElementName=RbtRight, Path=Foreground}"
|
|
|
|
+ StrokeThickness="1.5" />
|
|
|
|
+ <Rectangle
|
|
|
|
+ Canvas.Left="6"
|
|
|
|
+ Canvas.Top="4.25"
|
|
|
|
+ Width="8"
|
|
|
|
+ Height="1.5"
|
|
|
|
+ Stroke="{Binding ElementName=RbtRight, Path=Foreground}"
|
|
|
|
+ StrokeThickness="1.5" />
|
|
|
|
+ <Rectangle
|
|
|
|
+ Canvas.Left="6"
|
|
|
|
+ Canvas.Top="12.25"
|
|
|
|
+ Width="8"
|
|
|
|
+ Height="1.5"
|
|
|
|
+ Stroke="{Binding ElementName=RbtRight, Path=Foreground}"
|
|
|
|
+ StrokeThickness="1.5" />
|
|
|
|
+ <Rectangle
|
|
|
|
+ Canvas.Top="8.25"
|
|
|
|
+ Width="14"
|
|
|
|
+ Height="1.5"
|
|
|
|
+ Stroke="{Binding ElementName=RbtRight, Path=Foreground}"
|
|
|
|
+ StrokeThickness="1.5" />
|
|
|
|
+ </Canvas>
|
|
|
|
+ </Grid>
|
|
|
|
+ </RadioButton>
|
|
|
|
+ <RadioButton
|
|
|
|
+ Name="RbtnStrech"
|
|
Width="32"
|
|
Width="32"
|
|
Height="32"
|
|
Height="32"
|
|
HorizontalAlignment="Center"
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
- Style="{StaticResource infoText4}" />
|
|
|
|
|
|
+ IsChecked="{Binding StrechSelected}"
|
|
|
|
+ Style="{StaticResource GreyBgRadioBtnStyle}">
|
|
|
|
+ <Grid Width="32" Height="32">
|
|
|
|
+ <Canvas Margin="5,10,0,0">
|
|
|
|
+ <Rectangle
|
|
|
|
+ Canvas.Top="0.25"
|
|
|
|
+ Width="14"
|
|
|
|
+ Height="1.5"
|
|
|
|
+ Stroke="{Binding ElementName=RbtnStrech, Path=Foreground}"
|
|
|
|
+ StrokeThickness="1.5" />
|
|
|
|
+ <Rectangle
|
|
|
|
+ Canvas.Top="8.25"
|
|
|
|
+ Width="14"
|
|
|
|
+ Height="1.5"
|
|
|
|
+ Stroke="{Binding ElementName=RbtnStrech, Path=Foreground}"
|
|
|
|
+ StrokeThickness="1.5" />
|
|
|
|
+ <Rectangle
|
|
|
|
+ Canvas.Top="4.25"
|
|
|
|
+ Width="14"
|
|
|
|
+ Height="1.5"
|
|
|
|
+ Stroke="{Binding ElementName=RbtnStrech, Path=Foreground}"
|
|
|
|
+ StrokeThickness="1.5" />
|
|
|
|
+ <Rectangle
|
|
|
|
+ Canvas.Top="12.25"
|
|
|
|
+ Width="14"
|
|
|
|
+ Height="1.5"
|
|
|
|
+ Stroke="{Binding ElementName=RbtnStrech, Path=Foreground}"
|
|
|
|
+ StrokeThickness="1.5" />
|
|
|
|
+ </Canvas>
|
|
|
|
+ </Grid>
|
|
|
|
+ </RadioButton>
|
|
</WrapPanel>
|
|
</WrapPanel>
|
|
<WrapPanel>
|
|
<WrapPanel>
|
|
<Label Content="便签:" Style="{StaticResource Label2}" />
|
|
<Label Content="便签:" Style="{StaticResource Label2}" />
|
|
<ComboBox
|
|
<ComboBox
|
|
Width="228"
|
|
Width="228"
|
|
Height="30"
|
|
Height="30"
|
|
- SelectedIndex="0">
|
|
|
|
|
|
+ SelectedIndex="{Binding NoteSelectedIndex, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}">
|
|
<ComboBoxItem Content="系统字体" Foreground="{StaticResource color.field.text.act}" />
|
|
<ComboBoxItem Content="系统字体" Foreground="{StaticResource color.field.text.act}" />
|
|
<ComboBoxItem Content="PingFang" Foreground="{StaticResource color.field.text.act}" />
|
|
<ComboBoxItem Content="PingFang" Foreground="{StaticResource color.field.text.act}" />
|
|
</ComboBox>
|
|
</ComboBox>
|
|
@@ -822,22 +779,19 @@
|
|
Width="120"
|
|
Width="120"
|
|
Height="32"
|
|
Height="32"
|
|
Margin="16,24"
|
|
Margin="16,24"
|
|
|
|
+ Command="{Binding ResetCommand}"
|
|
Content="重置"
|
|
Content="重置"
|
|
FontSize="14"
|
|
FontSize="14"
|
|
- Foreground="{StaticResource color.btn.sec.text.def}"
|
|
|
|
Style="{StaticResource btn.sec}" />
|
|
Style="{StaticResource btn.sec}" />
|
|
<Button
|
|
<Button
|
|
Width="120"
|
|
Width="120"
|
|
Height="32"
|
|
Height="32"
|
|
|
|
+ Command="{Binding ResetAllCommand}"
|
|
Content="重置全部"
|
|
Content="重置全部"
|
|
FontSize="14"
|
|
FontSize="14"
|
|
- Foreground="{StaticResource color.btn.sec.text.def}"
|
|
|
|
Style="{StaticResource btn.sec}" />
|
|
Style="{StaticResource btn.sec}" />
|
|
</WrapPanel>
|
|
</WrapPanel>
|
|
- <StackPanel
|
|
|
|
- VerticalAlignment="Top"
|
|
|
|
- Background="{StaticResource color.sys.layout.bg.tabbar}"
|
|
|
|
- Orientation="Horizontal">
|
|
|
|
|
|
+ <Grid VerticalAlignment="Top" Background="{StaticResource color.sys.layout.bg.tabbar}">
|
|
<TextBlock
|
|
<TextBlock
|
|
Width="550"
|
|
Width="550"
|
|
Margin="16,6"
|
|
Margin="16,6"
|
|
@@ -853,42 +807,6 @@
|
|
HorizontalAlignment="Right"
|
|
HorizontalAlignment="Right"
|
|
Orientation="Horizontal"
|
|
Orientation="Horizontal"
|
|
WindowChrome.IsHitTestVisibleInChrome="True">
|
|
WindowChrome.IsHitTestVisibleInChrome="True">
|
|
- <Button
|
|
|
|
- Name="BtnMiniSize"
|
|
|
|
- Width="40"
|
|
|
|
- Height="40"
|
|
|
|
- Background="Transparent"
|
|
|
|
- BorderThickness="0"
|
|
|
|
- Click="BtnMiniSize_Click"
|
|
|
|
- Style="{StaticResource TitleBarBtn}">
|
|
|
|
- <Polygon Fill="{StaticResource color.btn.sec.text.def}" Points="14 7 14 8 2 8 2 7">
|
|
|
|
- <Polygon.RenderTransform>
|
|
|
|
- <TransformGroup>
|
|
|
|
- <TranslateTransform Y="-3" />
|
|
|
|
- </TransformGroup>
|
|
|
|
- </Polygon.RenderTransform>
|
|
|
|
- </Polygon>
|
|
|
|
- </Button>
|
|
|
|
- <Button
|
|
|
|
- Name="BtnReStore"
|
|
|
|
- Width="40"
|
|
|
|
- Height="40"
|
|
|
|
- Background="Transparent"
|
|
|
|
- BorderThickness="0"
|
|
|
|
- Click="BtnReStore_Click"
|
|
|
|
- Style="{StaticResource TitleBarBtn}">
|
|
|
|
- <Grid>
|
|
|
|
- <Path
|
|
|
|
- x:Name="ico_max"
|
|
|
|
- Data="M14,2 L14,14 L2,14 L2,2 L14,2 Z M13,3 L3,3 L3,13 L13,13 L13,3 Z"
|
|
|
|
- Fill="{StaticResource color.btn.sec.text.def}"
|
|
|
|
- Visibility="Collapsed" />
|
|
|
|
- <Grid x:Name="ico_mini" Visibility="{Binding ElementName=ico_max, Path=Visibility, Converter={StaticResource UnvisibleConvert}}">
|
|
|
|
- <Path Data="M11,5 L11,14 L2,14 L2,5 L11,5 Z M10,6 L3,6 L3,13 L10,13 L10,6 Z" Fill="{StaticResource color.btn.sec.text.def}" />
|
|
|
|
- <Polygon Fill="{StaticResource color.btn.sec.text.def}" Points="14 2 14 11 11 11 11 10 13 10 13 3 6 3 6 5 5 5 5 2" />
|
|
|
|
- </Grid>
|
|
|
|
- </Grid>
|
|
|
|
- </Button>
|
|
|
|
<Button
|
|
<Button
|
|
Name="BtnClose"
|
|
Name="BtnClose"
|
|
Width="40"
|
|
Width="40"
|
|
@@ -900,6 +818,6 @@
|
|
<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" />
|
|
<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" />
|
|
</Button>
|
|
</Button>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
- </StackPanel>
|
|
|
|
|
|
+ </Grid>
|
|
</Grid>
|
|
</Grid>
|
|
</UserControl>
|
|
</UserControl>
|