ReportViewer.ShowPrintButton 屬性
指出是否應該看見 [列印] 按鈕。
命名空間: Microsoft.Reporting.WebForms
組件: Microsoft.ReportViewer.WebForms (在 microsoft.reportviewer.webforms.dll)
語法
'宣告
<SRDescriptionAttribute("ShowPrintButtonDesc")> _
<WebBrowsableAttribute(True)> _
<CategoryAttribute("ToolBar")> _
<DefaultValueAttribute(True)> _
Public Property ShowPrintButton As Boolean
'用途
Dim instance As ReportViewer
Dim value As Boolean
value = instance.ShowPrintButton
instance.ShowPrintButton = value
[SRDescriptionAttribute("ShowPrintButtonDesc")]
[WebBrowsableAttribute(true)]
[CategoryAttribute("ToolBar")]
[DefaultValueAttribute(true)]
public bool ShowPrintButton { get; set; }
[WebBrowsableAttribute(true)]
[CategoryAttribute(L"ToolBar")]
[DefaultValueAttribute(true)]
public:
bool ShowPrintButton {
bool get ();
void set (bool value);
}
/** @property */
public boolean get_ShowPrintButton ()
/** @property */
public void set_ShowPrintButton (boolean value)
public function get ShowPrintButton () : boolean
public function set ShowPrintButton (value : boolean)
屬性值
Boolean 值。預設值是 true。
另請參閱
參考
ReportViewer 類別
ReportViewer 成員
Microsoft.Reporting.WebForms 命名空間