<Window x:Class="PrintAndExport.MainWindow"
        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:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:PrintAndExport"
        xmlns:c1="http://schemas.componentone.com/winfx/2006/xaml"
        mc:Ignorable="d"
        Title="PDF Print &amp; Export" Height="350" Width="525" ResizeMode="NoResize">
    <Grid Margin="5">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>

        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition Width="5"/>
                <ColumnDefinition/>
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="23"/>
                <RowDefinition Height="5"/>
                <RowDefinition Height="23"/>
            </Grid.RowDefinitions>

            <TextBlock Width="Auto" Text="PDF file:" VerticalAlignment="Center"/>
            <c1:C1FilePicker x:Name="fpFile" Grid.Column="2" Filter="PDF Files (*.pdf)|*.pdf|All Files (*.*)|*.*" />
            <TextBlock Width="Auto" Grid.Row="2" Text="Action:" VerticalAlignment="Center"/>
            <c1:C1ComboBox x:Name="cbAction" Grid.Row="2" Grid.Column="2" Width="200" HorizontalAlignment="Left"/>
        </Grid>

        <StackPanel Grid.Row="2" Orientation="Horizontal" Height="23" HorizontalAlignment="Right">
            <Button x:Name="btnExecute" Width="75" Content="Execute" IsDefault="True" Click="btnExecute_Click"/>
        </StackPanel>
    </Grid>
</Window>
