Share via


ReportViewer.ShowExportControls 屬性

取得或設定值,這個值表示是否可在工具列上看到 [匯出] 控制項。

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

語法

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

屬性值

類型:Boolean
如果可以在工具列上看到 [匯出] 控制項,則為 true,否則為 false。預設為 true。

請參閱

參考

ReportViewer 類別

Microsoft.Reporting.WebForms 命名空間