Udostępnij za pośrednictwem


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)> _
<DefaultValueAttribute(True)> _
<CategoryAttribute("Appearance")> _
Public Property ShowReportBody As Boolean
'Usage
Dim instance As ReportViewer
Dim value As Boolean

value = instance.ShowReportBody

instance.ShowReportBody = value
[WebBrowsableAttribute(true)] 
[DefaultValueAttribute(true)] 
[CategoryAttribute("Appearance")] 
public bool ShowReportBody { get; set; }
[WebBrowsableAttribute(true)] 
[DefaultValueAttribute(true)] 
[CategoryAttribute(L"Appearance")] 
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