<?xml version="1.0" encoding="utf-8"?>
<UserControl mc:Ignorable="d" x:Class="ReportServer.MainPage" 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">
	<UserControl.Resources>
	
	
	
	</UserControl.Resources>
    <Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition />
        </Grid.RowDefinitions>
        <Grid Margin="0 0 0 4">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition />
                <ColumnDefinition Width="Auto" />
            </Grid.ColumnDefinitions>
            <TextBlock Text="Select Report: " VerticalAlignment="Center" Foreground="White" />
            <Grid Grid.Column="1">
                <c1:C1ComboBox x:Name="reports" MaxDropDownHeight="700" />
                <TextBlock VerticalAlignment="Center" Margin="3 0 0 0" Text="Listing Reports..." x:Name="listingReports" />
            </Grid>
            <c1:C1ComboBox x:Name="format" Grid.Column="2" Visibility="Collapsed" d:IsLocked="True" />
        </Grid>
        <Grid Grid.Row="1" Margin="0 0 0 4" Visibility="Collapsed" x:Name="parametersPanel">
            <Grid.ColumnDefinitions>
                <ColumnDefinition />
                <ColumnDefinition Width="Auto" />
            </Grid.ColumnDefinitions>
            <c1:C1PropertyGrid x:Name="parameters" />
            <Button Content="Reload" Click="Reload" Grid.Column="1" />
        </Grid>
        
        <c1:C1ReportViewer x:Name="ReportViewer" Grid.Row="2" ViewMode="FitWidth" />

        <Grid x:Name="loadingReport" Background="#CCFFFFFF" Grid.Row="1" Grid.RowSpan="2">
            <TextBlock Text="Loading..." HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="14" />
        </Grid>
    </Grid>
</UserControl>