<UserControl x:Class="PdfViewerSamples.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:PdfViewerSamples"
    xmlns:c1="http://schemas.componentone.com/winfx/2006/xaml">

   
        <Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition Height="30"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
            <StackPanel Grid.Row="0" Orientation="Horizontal">
            <Button Content="Rotate Left" HorizontalAlignment="Right" Margin="5" Click="RotateLeft" />
            <Button Content="Rotate Right" HorizontalAlignment="Right"  Margin="5"  Click="RotateRight" />
        </StackPanel>
            <local:MyPdfViewer Grid.Row="1" ViewMode="FitWidth" x:Name="pdfViewer"/>
        
    </Grid>
</UserControl>
