WPF Crystal ReportViewer

Apr 28 2015 9:09 AM
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">&lt;Grid&gt;
&lt;Border Style=&quot;{StaticResource RoundBorder}&quot; Margin=&quot;10&quot; CornerRadius=&quot;50&quot; BorderBrush=&quot;SteelBlue&quot;&gt;
&lt;Border.Background&gt;
&lt;SolidColorBrush Opacity=&quot;0.5&quot; Color=&quot;#333&quot; /&gt;
&lt;/Border.Background&gt;
&lt;Grid&gt;
&lt;Grid.ColumnDefinitions&gt;
&lt;ColumnDefinition /&gt;
&lt;/Grid.ColumnDefinitions&gt;
&lt;Grid.RowDefinitions &gt;
&lt;RowDefinition Height=&quot;30&quot; /&gt;
&lt;RowDefinition /&gt;
&lt;/Grid.RowDefinitions&gt;
&lt;Button Name=&quot;CloseButton&quot; Click=&quot;CloseButton_Click&quot; Content=&quot;X&quot; FontSize=&quot;16&quot; FontWeight=&quot;Bold&quot; Style=&quot;{StaticResource GlassButton}&quot; Grid.Row=&quot;0&quot; Grid.Column=&quot;0&quot; HorizontalAlignment=&quot;Right&quot; Foreground=&quot;Red&quot; Width=&quot;30&quot;/&gt;
&lt;Viewer:CrystalReportsViewer Name=&quot;CrystalReportViewer1&quot; Grid.Column=&quot;0&quot; Grid.Row=&quot;1&quot; Margin=&quot;10 10 10 30&quot; Background=&quot;Transparent&quot; ToggleSidePanel=&quot;None&quot; BorderBrush=&quot;Transparent&quot; OverridesDefaultStyle=&quot;True&quot; ShowToolbar=&quot;False&quot; ShowStatusbar=&quot;False&quot; &gt;&lt;/Viewer:CrystalReportsViewer&gt;
&lt;/Grid&gt;
&lt;/Border&gt;
&lt;/Grid&gt;
&lt;/Window&gt;</pre>