1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <Window x:Class="Compdfkit_Tools.PDFControl.CreateBlankPageSettingDialog"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:local="clr-namespace:Compdfkit_Tools.PDFControl"
- mc:Ignorable="d"
- ResizeMode="NoResize"
- ShowInTaskbar="False"
- WindowStartupLocation="CenterScreen"
- Title="Create a blank page" Height="370" Width="386">
- <Window.Resources>
- <ResourceDictionary>
- <ResourceDictionary.MergedDictionaries>
- <ResourceDictionary Source="../../Asset/Styles/RadioButtonStyle.xaml"></ResourceDictionary>
- </ResourceDictionary.MergedDictionaries>
- </ResourceDictionary>
- </Window.Resources>
- <Grid Margin="10,20,5,0">
- <Grid.RowDefinitions>
- <RowDefinition Height="154"></RowDefinition>
- <RowDefinition Height="104"></RowDefinition>
- <RowDefinition Height="40"></RowDefinition>
- </Grid.RowDefinitions>
- <Grid Background="White" Margin="20,0,0,0" Panel.ZIndex="1" Height="20" HorizontalAlignment="Left" VerticalAlignment="Top">
- <TextBlock Foreground="#001A4E" FontFamily="Microsoft YaHei" Text="Select page size" FontWeight="DemiBold" FontSize="14"></TextBlock>
- </Grid>
- <Border Margin="0,10,7,12" BorderBrush="#33000000" BorderThickness="1">
- <Grid Margin="10,10,10,10" VerticalAlignment="Center" Height="{Binding Path=ActualHeight, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Border}}}">
- <Grid.RowDefinitions>
- <RowDefinition></RowDefinition>
- <RowDefinition></RowDefinition>
- <RowDefinition></RowDefinition>
- </Grid.RowDefinitions>
- <RadioButton x:Name="A3Rdo" Margin="0,10,0,0" VerticalAlignment="Center" FontFamily="Microsoft YaHei" FontSize="14" Content="A3 (420*297mm)"></RadioButton>
- <RadioButton Grid.Row="1" x:Name="A4Rdo" IsChecked="True" VerticalAlignment="Center" FontFamily="Microsoft YaHei" FontSize="14" Content="A4 (210*297mm)"></RadioButton>
- <RadioButton Grid.Row="2" x:Name="A5Rdo" Margin="0,0,0,10" VerticalAlignment="Center" FontFamily="Microsoft YaHei" FontSize="14" Content="A5 (148*219mm)"></RadioButton>
- </Grid>
- </Border>
-
- <Grid Grid.Row="1" Background="White" Margin="20,0,0,0" Panel.ZIndex="1" Height="20" HorizontalAlignment="Left" VerticalAlignment="Top">
- <TextBlock Foreground="#001A4E" FontFamily="Microsoft YaHei" Text="Select Page Orientation" FontWeight="DemiBold" FontSize="14"></TextBlock>
- </Grid>
- <Border Grid.Row="1" Margin="0,10,7,12" BorderBrush="#33000000" BorderThickness="1">
- <Grid Margin="10" VerticalAlignment="Center" Height="{Binding Path=ActualHeight, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Border}}}">
- <Grid.RowDefinitions>
- <RowDefinition></RowDefinition>
- <RowDefinition></RowDefinition>
- </Grid.RowDefinitions>
- <RadioButton x:Name="HorizontalRdo" Margin="0,10,0,0" VerticalAlignment="Center" FontFamily="Microsoft YaHei" FontSize="14" Content="Orthogonal"></RadioButton>
- <RadioButton Grid.Row="1" x:Name="VerticalRdo" Margin="0,0,0,10" IsChecked="True" VerticalAlignment="Center" FontFamily="Microsoft YaHei" FontSize="14" Content="Vertically"></RadioButton>
- </Grid>
- </Border>
- <StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Right">
- <Button Content="Cancel" Width="112" Height="32" FontFamily="Microsoft YaHei" FontSize="14" Click="Cancel_Click"></Button>
- <Button Content="OK" Width="112" Height="32" FontFamily="Microsoft YaHei" FontSize="14" Margin="10,0,10,0" Click="Confirm_Click"></Button>
- </StackPanel>
- </Grid>
- </Window>
|