1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- <UserControl x:Class="PDF_Office.Views.Dialog.HomePageToolsDialogs.HomePageBatchProcessing.HomePageWatermark.HomePageWatermarkCreateBaseContent"
- 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:watermark="clr-namespace:PDF_Office.ViewModels.EditTools.Watermark" d:DataContext="{d:DesignInstance Type=watermark:WatermarkCreateBaseContentViewModel}"
- mc:Ignorable="d"
- d:DesignHeight="720"
- d:DesignWidth="260" >
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="50"></RowDefinition>
- <RowDefinition></RowDefinition>
- </Grid.RowDefinitions>
- <Grid Grid.Row="0" Visibility="{Binding CreateBaseVisible, Mode=TwoWay}">
- <Button Height="24" Width="90" HorizontalAlignment="Left" Margin="16,0,0,0" Command="{Binding EnterTemplateListCommand}">
- <StackPanel Orientation="Horizontal">
- <TextBlock Text="<" Margin="0,0,9,0" FontSize="16"></TextBlock>
- <TextBlock Text="创建水印" FontSize="16"></TextBlock>
- </StackPanel>
- </Button>
- <Button Height="20" Width="64" Margin="0,0,16,0" HorizontalAlignment="Right" Command="{Binding SaveToTemplateListCommand}">
- <StackPanel>
- <TextBlock Text="保存至模板" Foreground="#18A0FB"></TextBlock>
- <Rectangle Height="1" Fill="#18A0FB"></Rectangle>
- </StackPanel>
- </Button>
- </Grid>
- <Grid Grid.Row="0" Visibility="{Binding EditBaseVisible, Mode=TwoWay}">
- <Button Height="24" Width="90" HorizontalAlignment="Left" Margin="16,0,0,0" Command="{Binding EnterTemplateListCommand}">
- <StackPanel Orientation="Horizontal">
- <TextBlock Text="<" Margin="0,0,9,0" FontSize="16"></TextBlock>
- <TextBlock Text="编辑模板" FontSize="16"></TextBlock>
- </StackPanel>
- </Button>
- <Button Height="20" Width="64" Margin="0,0,16,0" HorizontalAlignment="Right" Command="{Binding SaveToCurrentTemplateListCommand}">
- <StackPanel>
- <TextBlock Text="保存" Foreground="#18A0FB"></TextBlock>
- <Rectangle Height="1" Fill="#18A0FB"></Rectangle>
- </StackPanel>
- </Button>
- </Grid>
- <ScrollViewer Grid.Row="1">
- <Grid Grid.Row="1">
- <Grid.RowDefinitions>
- <RowDefinition Height="32"></RowDefinition>
- <RowDefinition></RowDefinition>
- </Grid.RowDefinitions>
- <Grid Grid.Row="0" Margin="16,0,16,0">
- <Grid.ColumnDefinitions>
- <ColumnDefinition></ColumnDefinition>
- <ColumnDefinition></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Button Name="HomePageWatermarkCreateTextContent" Grid.Column="0" Command="{Binding ChangeCreateModCommand}" CommandParameter="{Binding ElementName=HomePageWatermarkCreateTextContent}">
- <StackPanel Orientation="Vertical">
- <TextBlock Text="文本" FontSize="18"></TextBlock>
- </StackPanel>
- </Button>
- <Button Grid.Column="1" Name="HomePageWatermarkCreateFileContent" Command="{Binding ChangeCreateModCommand}" CommandParameter="{Binding ElementName=HomePageWatermarkCreateFileContent}">
- <StackPanel Orientation="Vertical" >
- <TextBlock Text="文件" FontSize="18" VerticalAlignment="Center"></TextBlock>
- </StackPanel>
- </Button>
- </Grid>
- <Grid Grid.Row="1">
- <ContentControl prism:RegionManager.RegionName="{Binding WatermarkCreateRegionName}" Visibility="{Binding WatermarkCreateVisible}"></ContentControl>
- </Grid>
- </Grid>
- </ScrollViewer>
- </Grid>
- </UserControl>
|