CompressDialog.xaml 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <UserControl x:Class="PDF_Master.Views.Dialog.ToolsDialogs.CompressDialogs.CompressDialog"
  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:cus="clr-namespace:PDF_Master.CustomControl"
  6. prism:Dialog.WindowStyle="{StaticResource DialogWindowStyle}"
  7. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8. xmlns:prism="http://prismlibrary.com/" xmlns:compressdialogs="clr-namespace:PDF_Master.ViewModels.Dialog.ToolsDialogs.CompressDialogs" d:DataContext="{d:DesignInstance Type=compressdialogs:CompressDialogViewModel}"
  9. prism:ViewModelLocator.AutoWireViewModel="True"
  10. d:DesignHeight="226"
  11. d:DesignWidth="468"
  12. mc:Ignorable="d">
  13. <cus:DialogContent Header="{Binding T_Title}">
  14. <cus:DialogContent.Content>
  15. <Grid Grid.Row="1" Width="436" Height="112">
  16. <StackPanel>
  17. <RadioButton Margin="0,0,0,8" Command="{Binding LargeQualityCommand}" Style="{StaticResource RadioButtonStyleText}" FontSize="14" Height="22" >
  18. <TextBlock Text="{Binding T_High}" ></TextBlock>
  19. </RadioButton>
  20. <RadioButton Margin="0,0,0,8" Command="{Binding StandardQualityCommand}" Style="{StaticResource RadioButtonStyleText}" FontSize="14" Height="22">
  21. <TextBlock Text="{Binding T_Standard}" ></TextBlock>
  22. </RadioButton>
  23. <RadioButton Margin="0,0,0,8" Command="{Binding LittleQualityCommand}" IsChecked="True" Style="{StaticResource RadioButtonStyleText}" FontSize="14" Height="22">
  24. <TextBlock Text="{Binding T_Low}" ></TextBlock>
  25. </RadioButton>
  26. <RadioButton Margin="0,0,0,0" Command="{Binding MicroQualityCommand}" Style="{StaticResource RadioButtonStyleText}" FontSize="14" Height="22">
  27. <TextBlock Text="{Binding T_Minimum}" ></TextBlock>
  28. </RadioButton>
  29. </StackPanel>
  30. </Grid>
  31. </cus:DialogContent.Content>
  32. <cus:DialogContent.BottmBar>
  33. <Grid Grid.Row="2" Width="468" VerticalAlignment="Center">
  34. <!--<StackPanel Orientation="Horizontal" HorizontalAlignment="Left">
  35. <Button Width="80" Height="32" Margin="16,0,0,0" Command="{Binding BatchCompressCommand}" Style="{StaticResource btn.sec}" Content="Batch">
  36. </Button>
  37. </StackPanel>-->
  38. <StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
  39. <Button Width="80" Height="32" Margin="0,0,16,0" Command="{Binding CompressCommand}" Style="{StaticResource Btn.cta}" Content="{Binding T_Compress}" >
  40. </Button>
  41. <Button Width="80" Height="32" Margin="0,0,16,0" Command="{Binding ConfirmCompressCommand}" Style="{StaticResource btn.sec}" Content="{Binding T_Cancel}">
  42. </Button>
  43. </StackPanel>
  44. </Grid>
  45. </cus:DialogContent.BottmBar>
  46. </cus:DialogContent>
  47. </UserControl>