|
@@ -36,7 +36,7 @@
|
|
|
</ResourceDictionary>
|
|
|
</UserControl.Resources>
|
|
|
|
|
|
- <Grid>
|
|
|
+ <Grid Background="{StaticResource color.sys.layout.mg}">
|
|
|
<Grid.RowDefinitions>
|
|
|
<RowDefinition Name="HeadRow" Height="40" />
|
|
|
<RowDefinition Name="ToolRow" Height="40" />
|
|
@@ -119,49 +119,50 @@
|
|
|
<cus:IconAndTextTabItem
|
|
|
x:Name="TabItemAnnotation"
|
|
|
Header="注释"
|
|
|
- Style="{StaticResource TabItem_WithUnderLineStyle}">
|
|
|
+ Style="{StaticResource ToolbarTabs}">
|
|
|
<Grid Grid.Row="1" Height="40" />
|
|
|
</cus:IconAndTextTabItem>
|
|
|
<cus:IconAndTextTabItem
|
|
|
x:Name="TabItemPageEdit"
|
|
|
Header="页面"
|
|
|
- Style="{StaticResource TabItem_WithUnderLineStyle}" />
|
|
|
+ Style="{StaticResource ToolbarTabs}" />
|
|
|
<cus:IconAndTextTabItem
|
|
|
x:Name="TabItemConvert"
|
|
|
Header="转换"
|
|
|
- Style="{StaticResource TabItem_WithUnderLineStyle}" />
|
|
|
+ Style="{StaticResource ToolbarTabs}" />
|
|
|
<cus:IconAndTextTabItem
|
|
|
x:Name="TabItemScan"
|
|
|
Header="扫描和OCR"
|
|
|
- Style="{StaticResource TabItem_WithUnderLineStyle}">
|
|
|
+ Style="{StaticResource ToolbarTabs}">
|
|
|
<Grid Grid.Row="1" Height="40" />
|
|
|
</cus:IconAndTextTabItem>
|
|
|
<cus:IconAndTextTabItem
|
|
|
x:Name="TabItemEdit"
|
|
|
Height="40"
|
|
|
Header="编辑"
|
|
|
- Style="{StaticResource TabItem_WithUnderLineStyle}">
|
|
|
+ Style="{StaticResource ToolbarTabs}">
|
|
|
<Grid Grid.Row="1" Height="40" />
|
|
|
</cus:IconAndTextTabItem>
|
|
|
<cus:IconAndTextTabItem
|
|
|
x:Name="TabItemForm"
|
|
|
Height="40"
|
|
|
Header="表单"
|
|
|
- Style="{StaticResource TabItem_WithUnderLineStyle}">
|
|
|
+ Style="{StaticResource ToolbarTabs}">
|
|
|
<Grid Grid.Row="1" Height="40" />
|
|
|
</cus:IconAndTextTabItem>
|
|
|
<cus:IconAndTextTabItem
|
|
|
x:Name="TabItemFill"
|
|
|
Height="40"
|
|
|
Header="填写与签名"
|
|
|
- Style="{StaticResource TabItem_WithUnderLineStyle}">
|
|
|
+ Style="{StaticResource ToolbarTabs}"
|
|
|
+ Visibility="Collapsed">
|
|
|
<Grid Grid.Row="1" Height="40" />
|
|
|
</cus:IconAndTextTabItem>
|
|
|
<cus:IconAndTextTabItem
|
|
|
x:Name="TabItemTool"
|
|
|
Height="40"
|
|
|
Header="工具"
|
|
|
- Style="{StaticResource TabItem_WithUnderLineStyle}">
|
|
|
+ Style="{StaticResource ToolbarTabs}">
|
|
|
<Grid Grid.Row="1" Height="40" />
|
|
|
</cus:IconAndTextTabItem>
|
|
|
<i:Interaction.Triggers>
|
|
@@ -172,6 +173,8 @@
|
|
|
</TabControl>
|
|
|
</Grid>
|
|
|
|
|
|
+
|
|
|
+
|
|
|
<!-- 底部工具栏 -->
|
|
|
<ContentControl Grid.Row="3" prism:RegionManager.RegionName="{Binding BottomToolRegionName}" />
|
|
|
|
|
@@ -202,7 +205,7 @@
|
|
|
Width="{Binding BOTAWidth, Mode=TwoWay}"
|
|
|
MinWidth="48"
|
|
|
MaxWidth="400" />
|
|
|
- <ColumnDefinition Width="12" />
|
|
|
+ <ColumnDefinition Width="auto" />
|
|
|
<ColumnDefinition
|
|
|
Name="ViewerColumn"
|
|
|
Width="*"
|
|
@@ -226,7 +229,7 @@
|
|
|
<ContentControl prism:RegionManager.RegionName="{Binding BOTARegionName}" />
|
|
|
<GridSplitter
|
|
|
Grid.Column="1"
|
|
|
- Width="12"
|
|
|
+ Width="0"
|
|
|
FocusVisualStyle="{x:Null}"
|
|
|
ResizeBehavior="PreviousAndNext"
|
|
|
ShowsPreview="True" />
|
|
@@ -241,12 +244,14 @@
|
|
|
</Grid>
|
|
|
|
|
|
<!-- 用于显示页面编辑、水印、背景、标记密文等功能的区域 -->
|
|
|
- <ContentControl
|
|
|
- Name="ContentTool"
|
|
|
+ <Border
|
|
|
Grid.Row="{Binding GridToolRow}"
|
|
|
Grid.RowSpan="{Binding GridToolRowSpan}"
|
|
|
- prism:RegionManager.RegionName="{Binding ToolContentRegionName}"
|
|
|
- Visibility="{Binding ToolContentVisible}" />
|
|
|
+ BorderBrush="{StaticResource color.sys.layout.divider}"
|
|
|
+ BorderThickness="0,1"
|
|
|
+ Visibility="{Binding ToolContentVisible}">
|
|
|
+ <ContentControl Name="ContentTool" prism:RegionManager.RegionName="{Binding ToolContentRegionName}" />
|
|
|
+ </Border>
|
|
|
<cus:LoadingControl Grid.RowSpan="3" Visibility="{Binding IsLoading}" />
|
|
|
</Grid>
|
|
|
</UserControl>
|