ReportViewer.ShowReportBody Property

Gets or sets a value that indicates whether the report body is visible on the control.

Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)

Syntax

'Declaration
<WebBrowsableAttribute(True)> _
<CategoryAttribute("Appearance")> _
<DefaultValueAttribute(True)> _
Public Property ShowReportBody As Boolean
'Usage
Dim instance As ReportViewer
Dim value As Boolean

value = instance.ShowReportBody

instance.ShowReportBody = value
[WebBrowsableAttribute(true)] 
[CategoryAttribute("Appearance")] 
[DefaultValueAttribute(true)] 
public bool ShowReportBody { get; set; }
[WebBrowsableAttribute(true)] 
[CategoryAttribute(L"Appearance")] 
[DefaultValueAttribute(true)] 
public:
property bool ShowReportBody {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_ShowReportBody ()

/** @property */
public void set_ShowReportBody (boolean value)
public function get ShowReportBody () : boolean

public function set ShowReportBody (value : boolean)

Property Value

true if the report body is visible on the control; otherwise, false. The default is true.

See Also

Reference

ReportViewer Class
ReportViewer Members
Microsoft.Reporting.WebForms Namespace