|
@@ -1,46 +1,72 @@
|
|
|
-<UserControl x:Class="PDF_Office.Views.EditTools.Redaction.RedactionContent"
|
|
|
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
- xmlns:prism="http://prismlibrary.com/"
|
|
|
- prism:ViewModelLocator.AutoWireViewModel="True"
|
|
|
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:redaction="clr-namespace:PDF_Office.ViewModels.EditTools.Redaction" d:DataContext="{d:DesignInstance Type=redaction:RedactionContentViewModel}"
|
|
|
- mc:Ignorable =" d"
|
|
|
- d:DesignHeight="760"
|
|
|
- d:DesignWidth="1280">
|
|
|
+<UserControl
|
|
|
+ x:Class="PDF_Office.Views.EditTools.Redaction.RedactionContent"
|
|
|
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
+ xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
+ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
+ xmlns:prism="http://prismlibrary.com/"
|
|
|
+ xmlns:redaction="clr-namespace:PDF_Office.ViewModels.EditTools.Redaction"
|
|
|
+ d:DataContext="{d:DesignInstance Type=redaction:RedactionContentViewModel}"
|
|
|
+ d:DesignHeight="760"
|
|
|
+ d:DesignWidth="1280"
|
|
|
+ prism:ViewModelLocator.AutoWireViewModel="True"
|
|
|
+ mc:Ignorable=" d">
|
|
|
<Grid Background="#FFFFFF">
|
|
|
<Grid.RowDefinitions>
|
|
|
- <RowDefinition Height="40"></RowDefinition>
|
|
|
- <RowDefinition></RowDefinition>
|
|
|
+ <RowDefinition Height="40" />
|
|
|
+ <RowDefinition />
|
|
|
</Grid.RowDefinitions>
|
|
|
<Grid>
|
|
|
<WrapPanel HorizontalAlignment="Center">
|
|
|
- <Button Style="{StaticResource InsideBarBtnStyle }">
|
|
|
- <StackPanel Orientation="Horizontal" Margin="12 0 12 0">
|
|
|
+ <Button Style="{StaticResource InsideBarBtnStyle}">
|
|
|
+ <StackPanel Margin="12,0,12,0" Orientation="Horizontal">
|
|
|
<StackPanel Margin="0,0,8,0">
|
|
|
- <Border Height="30" Width="30" Background="LightSeaGreen" ></Border>
|
|
|
- </StackPanel >
|
|
|
- <TextBlock Text="文本和图像标记密文" VerticalAlignment="Center"></TextBlock>
|
|
|
+ <Border
|
|
|
+ Width="30"
|
|
|
+ Height="30"
|
|
|
+ Background="LightSeaGreen" />
|
|
|
+ </StackPanel>
|
|
|
+ <TextBlock VerticalAlignment="Center" Text="文本和图像标记密文" />
|
|
|
</StackPanel>
|
|
|
</Button>
|
|
|
- <Button Style="{StaticResource InsideBarBtnStyle }">
|
|
|
- <StackPanel Orientation="Horizontal" Margin="12 0 12 0">
|
|
|
+ <Button Style="{StaticResource InsideBarBtnStyle}">
|
|
|
+ <StackPanel Margin="12,0,12,0" Orientation="Horizontal">
|
|
|
<StackPanel Margin="0,0,8,0">
|
|
|
- <Border Height="30" Width="30" Background="LightSeaGreen" ></Border>
|
|
|
- </StackPanel >
|
|
|
- <TextBlock Text="页面标记密文" VerticalAlignment="Center"></TextBlock>
|
|
|
+ <Border
|
|
|
+ Width="30"
|
|
|
+ Height="30"
|
|
|
+ Background="LightSeaGreen" />
|
|
|
+ </StackPanel>
|
|
|
+ <TextBlock VerticalAlignment="Center" Text="页面标记密文" />
|
|
|
</StackPanel>
|
|
|
</Button>
|
|
|
</WrapPanel>
|
|
|
<StackPanel HorizontalAlignment="Right" Orientation="Horizontal">
|
|
|
- <Button Content="应用密文" Height="24" Padding="10,2,10,2"></Button>
|
|
|
- <Button Content="擦除密文" Height="24" Margin="8,0,8,0" Padding="10,2,10,2"></Button>
|
|
|
- <Button Content="关闭" Height="24" Padding="10,2,10,2" Margin="0,0,16,0" Command="{Binding CloseEditToolCommand}"></Button>
|
|
|
+ <Button
|
|
|
+ Height="24"
|
|
|
+ Margin="8,0"
|
|
|
+ Padding="8,0"
|
|
|
+ Content="应用密文"
|
|
|
+ Style="{StaticResource Btn.cta}" />
|
|
|
+ <Button
|
|
|
+ Height="24"
|
|
|
+ Margin="8,0"
|
|
|
+ Padding="8,0"
|
|
|
+ Content="擦除密文"
|
|
|
+ Style="{StaticResource Btn.cta}" />
|
|
|
+ <Button
|
|
|
+ Width="auto"
|
|
|
+ Height="24"
|
|
|
+ Margin="8,0,16,0"
|
|
|
+ Padding="8,0"
|
|
|
+ Command="{Binding CloseEditToolCommand}"
|
|
|
+ Content="关闭"
|
|
|
+ Style="{StaticResource btn.sec}" />
|
|
|
</StackPanel>
|
|
|
</Grid>
|
|
|
<Grid Grid.Row="1" Background="#E7E9EC">
|
|
|
- <Grid Margin="60,12,0,0">
|
|
|
- <ContentControl prism:RegionManager.RegionName="{Binding RedactionDocumentRegionName}" Visibility ="Visible"></ContentControl>
|
|
|
+ <Grid>
|
|
|
+ <ContentControl prism:RegionManager.RegionName="{Binding RedactionDocumentRegionName}" Visibility="Visible" />
|
|
|
</Grid>
|
|
|
</Grid>
|
|
|
</Grid>
|