Hello guys.
I am developing a project in WPF ,C#, Crystal Reports, MS sql Server. The project is 99% complete but 1% issue is to remove the blue background from the Report viewer.I googled but did'nt find any thing.
Any help would be appreciated.
Thanks.
My Xaml code is:
<pre lang="xml"><Grid>
<Border Style="{StaticResource RoundBorder}" Margin="10" CornerRadius="50" BorderBrush="SteelBlue">
<Border.Background>
<SolidColorBrush Opacity="0.5" Color="#333" />
</Border.Background>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions >
<RowDefinition Height="30" />
<RowDefinition />
</Grid.RowDefinitions>
<Button Name="CloseButton" Click="CloseButton_Click" Content="X" FontSize="16" FontWeight="Bold" Style="{StaticResource GlassButton}" Grid.Row="0" Grid.Column="0" HorizontalAlignment="Right" Foreground="Red" Width="30"/>
<Viewer:CrystalReportsViewer Name="CrystalReportViewer1" Grid.Column="0" Grid.Row="1" Margin="10 10 10 30" Background="Transparent" ToggleSidePanel="None" BorderBrush="Transparent" OverridesDefaultStyle="True" ShowToolbar="False" ShowStatusbar="False" ></Viewer:CrystalReportsViewer>
</Grid>
</Border>
</Grid>
</Window></pre>