<?xml version="1.0" encoding="utf-8"?>
<Window x:Class="PdfViewer.MainWindow" Title="C1PdfViewer Sample" Height="350" Width="625" WindowStartupLocation="CenterScreen" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:c1="http://schemas.componentone.com/winfx/2006/xaml">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="auto" />
            <RowDefinition />
        </Grid.RowDefinitions>
        
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition />
                <ColumnDefinition Width="auto" />
            </Grid.ColumnDefinitions>
            <TextBlock Text="Select a PDF file, then print/preview/save it from the C1PdfViewer." VerticalAlignment="Center" Margin="6 0" />
            <Button Content="Load PDF File..." HorizontalAlignment="Right" Padding="6 2" Grid.Column="1" Click="Button_Click" />
        </Grid>
        
        <c1:C1PdfViewer Name="c1PdfViewer1" Grid.Row="1" />
    </Grid>
</Window>