共用方式為


ReportViewer.ShowExportButton 屬性

指出是否可以在控制項中看見 [匯出] 按鈕。

命名空間: Microsoft.Reporting.WinForms
組件: Microsoft.ReportViewer.WinForms (在 microsoft.reportviewer.winforms.dll)

語法

'宣告
<CategoryAttribute("Toolbar")> _
<SRDescriptionAttribute("ShowExportButtonDesc")> _
<DefaultValueAttribute(True)> _
Public Property ShowExportButton As Boolean
'用途
Dim instance As ReportViewer
Dim value As Boolean

value = instance.ShowExportButton

instance.ShowExportButton = value
[CategoryAttribute("Toolbar")] 
[SRDescriptionAttribute("ShowExportButtonDesc")] 
[DefaultValueAttribute(true)] 
public bool ShowExportButton { get; set; }
[CategoryAttribute(L"Toolbar")] 
[DefaultValueAttribute(true)] 
public:
bool ShowExportButton {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_ShowExportButton ()

/** @property */
public void set_ShowExportButton (boolean value)
public function get ShowExportButton () : boolean

public function set ShowExportButton (value : boolean)

屬性值

Boolean 值。預設值是 true。

另請參閱

參考

ReportViewer 類別
ReportViewer 成員
Microsoft.Reporting.WinForms 命名空間