12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- <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 />
- </Grid.RowDefinitions>
- <Grid>
- <WrapPanel HorizontalAlignment="Center">
- <Button Style="{StaticResource InsideBarBtnStyle}">
- <StackPanel Margin="12,0,12,0" Orientation="Horizontal">
- <StackPanel Margin="0,0,8,0">
- <Border
- Width="30"
- Height="30"
- Background="LightSeaGreen" />
- </StackPanel>
- <TextBlock VerticalAlignment="Center" Text="文本和图像标记密文" />
- </StackPanel>
- </Button>
- <Button Style="{StaticResource InsideBarBtnStyle}">
- <StackPanel Margin="12,0,12,0" Orientation="Horizontal">
- <StackPanel Margin="0,0,8,0">
- <Border
- Width="30"
- Height="30"
- Background="LightSeaGreen" />
- </StackPanel>
- <TextBlock VerticalAlignment="Center" Text="页面标记密文" />
- </StackPanel>
- </Button>
- </WrapPanel>
- <StackPanel HorizontalAlignment="Right" Orientation="Horizontal">
- <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>
- <ContentControl prism:RegionManager.RegionName="{Binding RedactionDocumentRegionName}" Visibility="Visible" />
- </Grid>
- </Grid>
- </Grid>
- </UserControl>
|