<Page
    x:Class="PrintingFromCode.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:PrintingFromCode"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <Grid>
        <StackPanel HorizontalAlignment="Left" VerticalAlignment="Top" Margin="20,20,0,0">
            <TextBlock FontSize="14" Margin="4" Text="Reports:"/>
            <ListBox Name="listBoxReports" Width="300" Height="300" SelectedIndex="0">
                <ListBoxItem Content="Simple List"/>
                <ListBoxItem Content="Multi Column List"/>
                <ListBoxItem Content="Master Detail"/>
                <ListBoxItem Content="Two Masters On One Detail"/>
            </ListBox>

            <StackPanel Orientation="Horizontal" Margin="0,8,0,0" HorizontalAlignment="Center">
                <Button Name="buttonPrint" Width="150" Content="Print" Click="buttonPrint_Click"/>
            </StackPanel>
        </StackPanel>
    </Grid>
</Page>
