12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- <UserControl x:Class="PDF_Master.Views.Dialog.HomePageToolsDialogs.HomePagePrinter.HomePagePrinterModBookletContent"
- 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:homepageprinter="clr-namespace:PDF_Master.ViewModels.Dialog.HomePageToolsDialogs.HomePagePrinter" d:DataContext="{d:DesignInstance Type=homepageprinter:HomePagePrinterModBookletContentViewModel}"
- mc:Ignorable="d"
- d:DesignHeight="166"
- d:DesignWidth="466">
- <Grid Height="166" VerticalAlignment="Top">
- <Grid.RowDefinitions>
- <RowDefinition Height="128*"></RowDefinition>
- <RowDefinition Height="38*"></RowDefinition>
- </Grid.RowDefinitions>
- <Border Background="#F7F8FA" CornerRadius="4" Height="128">
- <Grid Grid.Row="0">
- <Grid.RowDefinitions>
- <RowDefinition Height="1*"></RowDefinition>
- <RowDefinition Height="1*"></RowDefinition>
- <RowDefinition Height="1*"></RowDefinition>
- </Grid.RowDefinitions>
- <StackPanel Grid.Row="0" Orientation="Horizontal">
- <TextBlock FontFamily="Segoe UI" FontSize="14" Text="Booklet subset:" Width="94" Margin="0,0,16,0" VerticalAlignment="Center"></TextBlock>
- <ComboBox Height="32" Width="265" ItemsSource="{Binding SubsetList}" SelectedIndex="{Binding SubsetIndex}"></ComboBox>
- </StackPanel>
- <StackPanel Grid.Row="1" Orientation="Horizontal">
- <TextBlock Text="Sheets from:" FontFamily="Segoe UI" FontSize="14" Width="94" Margin="0,0,16,0" VerticalAlignment="Center" ></TextBlock>
- <TextBox Style="{StaticResource Print_normalTxtStyle}" Name="PaperFromTxt" Height="32" Width="50" VerticalContentAlignment="Center" Text="{Binding PaperFrom,UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}">
- <TextBox.InputBindings>
- <KeyBinding Command="{Binding SetSheetCommand}" CommandParameter="{Binding ElementName=PaperFromTxt}" Key="Return"></KeyBinding>
- </TextBox.InputBindings>
- </TextBox>
- <TextBlock FontFamily="Segoe UI" FontSize="14" Text="to" VerticalAlignment="Center" Margin="8,0,8,0" ></TextBlock>
- <TextBox Style="{StaticResource Print_normalTxtStyle}" Name="PaperToTxt" Height="32" Width="50" VerticalContentAlignment="Center" Text="{Binding PaperTo,UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}">
- <TextBox.InputBindings>
- <KeyBinding Command="{Binding SetSheetCommand}" CommandParameter="{Binding ElementName=PaperToTxt}" Key="Return"></KeyBinding>
- </TextBox.InputBindings>
- </TextBox>
- </StackPanel>
- <StackPanel Grid.Row="2" Orientation="Horizontal">
- <TextBlock Text="Binding:" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Center" Width="94" Margin="0,0,16,0" ></TextBlock>
- <ComboBox Height="32" Width="265" ItemsSource="{Binding BindingList}" SelectedIndex="{Binding BindingIndex}"></ComboBox>
- </StackPanel>
- </Grid>
- </Border>
- <StackPanel Grid.Row="3" Orientation="Horizontal" Margin="0,16,0,0">
- <CheckBox VerticalAlignment="Center" Command="{Binding SetAutoRotateCommand}" IsChecked="{Binding IsAutoRotate}"></CheckBox>
- <TextBlock Text="Auto-rotate pages in each sheet" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Center" Margin="11,0,0,0"></TextBlock>
- </StackPanel>
- </Grid>
- </UserControl>
|