<UserControl x:Class="CSharp.SilverlightDemo.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    xmlns:telerik="clr-namespace:Telerik.ReportViewer.Silverlight;assembly=Telerik.ReportViewer.Silverlight"    
    xmlns:telerikNav="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation"
    xmlns:telerikControls="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"
    xmlns:telerikPrimitives ="clr-namespace:Telerik.Windows.Controls.Primitives;assembly=Telerik.Windows.Controls"
    xmlns:telerikInput="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Input"
             xmlns:local="clr-namespace:CSharp.SilverlightDemo"
    mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480">

    <Grid x:Name="LayoutRoot">
        <Image Source="/CSharp.SilverlightDemo;component/images/BgOfficeBlack.jpg" Stretch="Fill" />
        <Grid HorizontalAlignment="Center" Margin="20" >
            <telerik:ReportViewer Grid.Row="1" x:Name="ReportViewer1" 
                                  Width="1000"
                                  telerikControls:StyleManager.Theme="{Binding SelectedItem, ElementName=ThemeSelector}"
                                  ReportServiceUri="http://localhost:1817/reportservice"
                                  Report="Telerik.Reporting.Examples.CSharp.Report5, ConsoleApplication2" />
        </Grid>
    </Grid>
</UserControl>
