|
@@ -39,7 +39,9 @@
|
|
|
</UserControl.Resources>
|
|
|
<Grid Background="#F3F3F3">
|
|
|
<StackPanel>
|
|
|
- <TextBlock Name="AnnotTypeTitle" FontFamily="SegoeUI" FontWeight="Bold" FontSize="18" LineHeight="24" HorizontalAlignment="Left" Margin="10,8,0,0">Freehand</TextBlock>
|
|
|
+ <TextBlock Name="AnnotTypeTitle"
|
|
|
+ Text="{Binding BasicVm.AnnotTypeTitle}"
|
|
|
+ FontFamily="SegoeUI" FontWeight="Bold" FontSize="18" LineHeight="24" HorizontalAlignment="Left" Margin="10,8,0,0"></TextBlock>
|
|
|
|
|
|
<Border Width="128" Height="32" Margin="0,12,0,0" BorderThickness="1" BorderBrush="#FFE2E3E6"
|
|
|
Visibility="{Binding BasicVm.IsMultiSelected,Converter={StaticResource InvertBoolToVisibleConvert}}"
|
|
@@ -50,7 +52,10 @@
|
|
|
<ColumnDefinition Width="*"></ColumnDefinition>
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
- <ToggleButton Name="PenBtn" IsEnabled="True" Tag="PenBtn" Background="Transparent" BorderThickness="0" Click="PenBtn_Click" IsChecked="{Binding IsPen}" Checked="PenBtn_Checked" Command="{Binding PenCommand}" CommandParameter="{Binding ElementName=PenBtn}" >
|
|
|
+ <ToggleButton Name="PenBtn" ToolTip="画笔" IsEnabled="True" Tag="PenBtn" Background="Transparent" BorderThickness="0" Click="PenBtn_Click"
|
|
|
+
|
|
|
+ IsChecked="{Binding IsPen}"
|
|
|
+ Checked="PenBtn_Checked" Command="{Binding PenCommand}" CommandParameter="{Binding ElementName=PenBtn}" >
|
|
|
<Image Width="16" Height="16">
|
|
|
<Image.Source>
|
|
|
<DrawingImage>
|
|
@@ -84,7 +89,7 @@
|
|
|
|
|
|
<Line HorizontalAlignment="Left" Style="{StaticResource lineStyle}" VerticalAlignment="Center" Grid.Column="1" X1="0" Y1="0" X2="0" Y2="16" StrokeThickness="1" Stroke="#33000000"></Line>
|
|
|
|
|
|
- <ToggleButton Name="EraseBtn" Tag="EraseBtn" Background="Transparent" Grid.Column="1" BorderThickness="0" Click="EraseBtn_Click" Command="{Binding EraseCommand}" CommandParameter="{Binding ElementName=EraseBtn}">
|
|
|
+ <ToggleButton Name="EraseBtn" Tag="EraseBtn" ToolTip="橡皮擦" Background="Transparent" Grid.Column="1" BorderThickness="0" Click="EraseBtn_Click" Command="{Binding EraseCommand}" CommandParameter="{Binding ElementName=EraseBtn}">
|
|
|
<Path Width="16" Height="16" HorizontalAlignment="Center" VerticalAlignment="Center" Fill="#000000" Data="M11,1.796875 L16.703125,7.5 L9.2109375,15 L5.0390625,15 L2.3984375,
|
|
|
12.3515625 L2.30688477,12.2502441 C2.22143555,12.1452637 2.15429688,12.0292969 2.10546875,11.9023438 C2.04036458,11.7330729 2.0078125,11.5572917 2.0078125,
|
|
|
11.375 C2.0078125,11.1927083 2.04036458,11.0169271 2.10546875,10.8476562 C2.15429688,10.7207031 2.2199707,
|