CrystalReportViewer.BackColor Property

Gets or sets the background color for the control.

Namespace CrystalDecisions.Windows.Forms Assembly CrystalDecisions.Windows.Forms (CrystalDecisions.Windows.Forms.dll)

Syntax

'Declaration

Public Overrides Property BackColor As System.Drawing.Color
public override System.Drawing.Color BackColor {get; set;}

Example

This example sets the background color of the report.

'Declaration

    Private Sub SetBackColor()
      CrystalReportViewer.BackColor = Color.White
    End Sub
    private void SetBackColor()
    {
      crystalReportViewer.BackColor = Color.White;
    }

Version Information

Crystal Reports Basic for Visual Studio 2008

Supported since: Crystal Reports for Visual Studio 2005

See Also

Reference

CrystalReportViewer Class
CrystalReportViewer Members
CrystalDecisions.Windows.Forms Namespace