1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- <UserControl x:Class="PDF_Master.Views.EditTools.Watermark.WatermarkContent"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:prism="http://prismlibrary.com/"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:watermark="clr-namespace:PDF_Master.ViewModels.EditTools.Watermark" d:DataContext="{d:DesignInstance Type=watermark:WatermarkContentViewModel}"
- mc:Ignorable="d"
- prism:ViewModelLocator.AutoWireViewModel="True"
- d:DesignHeight="760"
- d:DesignWidth="1280">
- <UserControl.Resources>
- <ResourceDictionary>
- <ResourceDictionary.MergedDictionaries>
- <ResourceDictionary Source="../../../Styles/CustomBtnStyle.xaml"/>
- </ResourceDictionary.MergedDictionaries>
- </ResourceDictionary>
- </UserControl.Resources>
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="40"></RowDefinition>
- <RowDefinition></RowDefinition>
- </Grid.RowDefinitions>
- <Grid Grid.Row="0" Background="#FFFFFF">
- <Border x:Name="ToolsBorder" BorderBrush="#1A000000" BorderThickness="0,1,0,1" Height="40">
- <WrapPanel HorizontalAlignment="Center" Height="40">
- <Button Style="{StaticResource InsideBarBtnStyle }">
- <StackPanel Orientation="Horizontal" Margin="12 0 12 0">
- <StackPanel Margin="0,0,8,0">
- <Border Height="30" Width="30" Background="LightSeaGreen" ></Border>
- </StackPanel >
- <TextBlock Text="添加水印" VerticalAlignment="Center"></TextBlock>
- </StackPanel>
- </Button>
- <Button Style="{StaticResource InsideBarBtnStyle }" Command="{Binding DeleteWatermarkCommand}">
- <StackPanel Orientation="Horizontal" Margin="12 0 12 0">
- <StackPanel Margin="0,0,8,0">
- <Border Height="30" Width="30" Background="LightSeaGreen" ></Border>
- </StackPanel >
- <TextBlock Text="移除" VerticalAlignment="Center"></TextBlock>
- </StackPanel>
- </Button>
- <Label Height="10" Width="1" Background="LightGray"></Label>
- <Button Style="{StaticResource InsideBarBtnStyle }" Command="{Binding BatchWatermarkCommand}">
- <StackPanel Orientation="Horizontal" Margin="12 0 12 0">
- <StackPanel Margin="0,0,8,0">
- <Border Height="30" Width="30" Background="LightSeaGreen" ></Border>
- </StackPanel >
- <TextBlock Text="批量" VerticalAlignment="Center"></TextBlock>
- </StackPanel>
- </Button>
- </WrapPanel>
- </Border>
- <StackPanel HorizontalAlignment="Right" Orientation="Horizontal">
- <Button Content="应用" Height="24" Width="44" Command="{Binding ConfirmEditToolCommand}"></Button>
- <Button Content="关闭" Height="24" Width="44" Margin="16,0,16,0" Command="{Binding CloseEditToolCommand}"></Button>
- </StackPanel>
- </Grid>
- <Grid Grid.Row="1" >
- <Grid.ColumnDefinitions>
- <ColumnDefinition></ColumnDefinition>
- <ColumnDefinition Width="260"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Grid Grid.Column="0" Background="#E7E9EC" >
- <ContentControl prism:RegionManager.RegionName="{Binding WatermarkDocumentRegionName}" Visibility="{Binding WatermarkDocumentVisible}"></ContentControl>
- </Grid>
- <Grid Grid.Column="1" Background="#F3F3F3">
- <ContentControl prism:RegionManager.RegionName="{Binding WatermarkSettingsRegionName}" Visibility="{Binding WatermarkSettingsVisible}"></ContentControl>
- </Grid>
- </Grid>
- </Grid>
- </UserControl>
|