Hide grey background in Crystal Reports Viewer in Visual Studio 2010

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
I use CrystalReportsViewer to show Crystal Reports in my WPF - Visual Studio 2010 application

blue it is what I can hidegrey and black it is what I want hidewhite it is page
<img alt="" src="http://imageshack.us/photo/my-images/831/45393509.png/ <img alt="" src="http://social.msdn.microsoft.com/Forums/getfile/150658 http://imageshack.us/photo/my-images/831/45393509.png/
<
How remove / transparent grey background?
Code to blue effect ;-)
<pre>
Code:
System.Windows.Media.SolidColorBrush kolor = System.Windows.Media.Brushes.Blue;
crystalReportsViewer1.Background = kolor;
crystalReportsViewer1.ViewerCore.Background = kolor;
crystalReportsViewer1.ViewerCore.BackgroundBrush = kolor;
crystalReportsViewer1.ViewerCore.DisplayBackgroundEdge = false;
[/code]


View the full article
 
Back
Top