WatermarkListDialog.xaml 1.7 KB

12345678910111213141516171819202122232425262728
  1. <Window x:Class="Compdfkit_Tools.PDFControl.WatermarkListDialog"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:local="clr-namespace:Compdfkit_Tools.PDFControl"
  7. xmlns:common="clr-namespace:Compdfkit_Tools.Common"
  8. mc:Ignorable="d"
  9. Height="522" Width="516" ShowInTaskbar="False" ResizeMode="NoResize">
  10. <Window.Resources>
  11. <ResourceDictionary>
  12. <common:SecurityResourceConverter x:Key="SecurityResourceConverter"/>
  13. </ResourceDictionary>
  14. </Window.Resources>
  15. <Grid>
  16. <Grid.RowDefinitions>
  17. <RowDefinition></RowDefinition>
  18. <RowDefinition Height="auto"></RowDefinition>
  19. </Grid.RowDefinitions>
  20. <local:FileGridListWithPageRangeControl x:Name="FileGridListWithPageRangeControl"></local:FileGridListWithPageRangeControl>
  21. <Grid Grid.Row="1">
  22. <StackPanel Orientation="Horizontal" Margin="0,24,24,12" HorizontalAlignment="Right">
  23. <Button x:Name="NextBtn" Content="{Binding Converter={StaticResource SecurityResourceConverter}, ConverterParameter=Button_Apply}" Height="32" Width="112" IsEnabled="{Binding ElementName=FileGridListWithPageRangeControl, Path=IsEnsure}" Margin="0,0,8,0" Click="NextBtn_Click"></Button>
  24. <Button x:Name="CancelBtn" Height="32" Content="{Binding Converter={StaticResource SecurityResourceConverter}, ConverterParameter=Button_Cancel}" Width="112" Click="CancelBtn_Click"></Button>
  25. </StackPanel>
  26. </Grid>
  27. </Grid>
  28. </Window>