12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- <UserControl x:Class="PDF_Master.Views.Dialog.ToolsDialogs.CompressDialogs.CompressDialog"
- 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:cus="clr-namespace:PDF_Master.CustomControl"
- prism:Dialog.WindowStyle="{StaticResource DialogWindowStyle}"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:prism="http://prismlibrary.com/" xmlns:compressdialogs="clr-namespace:PDF_Master.ViewModels.Dialog.ToolsDialogs.CompressDialogs" d:DataContext="{d:DesignInstance Type=compressdialogs:CompressDialogViewModel}"
- prism:ViewModelLocator.AutoWireViewModel="True"
- d:DesignHeight="226"
- d:DesignWidth="468"
- mc:Ignorable="d">
- <cus:DialogContent Header="{Binding T_Title}">
- <cus:DialogContent.Content>
- <Grid Grid.Row="1" Width="436" Height="112">
- <StackPanel>
- <RadioButton Margin="0,0,0,8" Command="{Binding LargeQualityCommand}" Style="{StaticResource RadioButtonStyleText}" FontSize="14" Height="22" >
- <TextBlock Text="{Binding T_High}" ></TextBlock>
- </RadioButton>
- <RadioButton Margin="0,0,0,8" Command="{Binding StandardQualityCommand}" Style="{StaticResource RadioButtonStyleText}" FontSize="14" Height="22">
- <TextBlock Text="{Binding T_Standard}" ></TextBlock>
- </RadioButton>
- <RadioButton Margin="0,0,0,8" Command="{Binding LittleQualityCommand}" IsChecked="True" Style="{StaticResource RadioButtonStyleText}" FontSize="14" Height="22">
- <TextBlock Text="{Binding T_Low}" ></TextBlock>
- </RadioButton>
- <RadioButton Margin="0,0,0,0" Command="{Binding MicroQualityCommand}" Style="{StaticResource RadioButtonStyleText}" FontSize="14" Height="22">
- <TextBlock Text="{Binding T_Minimum}" ></TextBlock>
- </RadioButton>
- </StackPanel>
- </Grid>
- </cus:DialogContent.Content>
- <cus:DialogContent.BottmBar>
- <Grid Grid.Row="2" Width="468" VerticalAlignment="Center">
- <!--<StackPanel Orientation="Horizontal" HorizontalAlignment="Left">
- <Button Width="80" Height="32" Margin="16,0,0,0" Command="{Binding BatchCompressCommand}" Style="{StaticResource btn.sec}" Content="Batch">
-
- </Button>
- </StackPanel>-->
- <StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
- <Button Width="80" Height="32" Margin="0,0,16,0" Command="{Binding CompressCommand}" Style="{StaticResource Btn.cta}" Content="{Binding T_Compress}" >
-
- </Button>
- <Button Width="80" Height="32" Margin="0,0,16,0" Command="{Binding ConfirmCompressCommand}" Style="{StaticResource btn.sec}" Content="{Binding T_Cancel}">
-
- </Button>
- </StackPanel>
- </Grid>
-
- </cus:DialogContent.BottmBar>
- </cus:DialogContent>
- </UserControl>
|