Share via


ReportViewer.ShowReportBody 屬性

取得或設定指出是否可在控制項上看到報表主體的值。

命名空間:  Microsoft.Reporting.WebForms
組件:  Microsoft.ReportViewer.WebForms (在 Microsoft.ReportViewer.WebForms.dll 中)

語法

'宣告
<WebBrowsableAttribute(True)> _
Public Property ShowReportBody As Boolean
[WebBrowsableAttribute(true)]
public bool ShowReportBody { get; set; }
[WebBrowsableAttribute(true)]
public:
property bool ShowReportBody {
    bool get ();
    void set (bool value);
}
[<WebBrowsableAttribute(true)>]
member ShowReportBody : bool with get, set
function get ShowReportBody () : boolean
function set ShowReportBody (value : boolean)

屬性值

類型:Boolean
如果可以在控制項上看到報表主體,則為 true,否則為 false。預設為 true。

請參閱

參考

ReportViewer 類別

Microsoft.Reporting.WebForms 命名空間