<UserControl
    x:Class="PdfViewerSamples.RenderMode"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:PdfViewerSamples"
    xmlns:c1="using:C1.Xaml.PdfViewer"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300"
    d:DesignWidth="400">

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition/>
            <ColumnDefinition Width="Auto"/>
        </Grid.ColumnDefinitions>
        <c1:C1PdfViewer x:Name="c1PdfViewer1" Grid.Row="1" Grid.ColumnSpan="2" ViewMode="Normal"/>
        <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Top" Grid.Row="0" Grid.Column="0">
            <TextBlock Text="RenderMode: " VerticalAlignment="Center" FontSize="16" Margin="5"/>
            <ComboBox x:Name="renderModecb" SelectionChanged="renderModecb_SelectionChanged">
            </ComboBox>
        </StackPanel>
        
        <Button x:Name="btnLoad" Content=" Load Pdf... " HorizontalAlignment="Right" Grid.Column="1" Grid.Row="0" VerticalAlignment="Top" Click="btnLoad_Click" />
    </Grid>
</UserControl>
