<?xml version="1.0" encoding="utf-8"?>
<UserControl x:Class="ReportViewerWithC1Report.MainPage" mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="400" 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" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">

    <Grid x:Name="LayoutRoot" Background="White">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition />
        </Grid.RowDefinitions>

        <!-- title -->
        <TextBlock Text="C1ReportViewer and C1Report" Margin="6" Foreground="SteelBlue" FontSize="18" />

        <!-- select a report here -->
        <StackPanel Orientation="Horizontal" Margin="6" Grid.Row="1">
            <TextBlock Text="Select a report: " VerticalAlignment="Center" />
            <ComboBox Name="_cmbReports" MinWidth="200" SelectionChanged="_cmbReports_SelectionChanged" />
        </StackPanel>

        <!-- and view it here -->
        <c1:C1ReportViewer Name="_c1rv" Grid.Row="2" />
    </Grid>
</UserControl>