ReportViewer.ShowPrintButton 屬性
指出是否可以看見 [列印] 按鈕。
命名空間: Microsoft.Reporting.WinForms
組件: Microsoft.ReportViewer.WinForms (在 microsoft.reportviewer.winforms.dll)
語法
'宣告
<CategoryAttribute("Toolbar")> _
<DefaultValueAttribute(True)> _
<SRDescriptionAttribute("ShowPrintButtonDesc")> _
Public Property ShowPrintButton As Boolean
'用途
Dim instance As ReportViewer
Dim value As Boolean
value = instance.ShowPrintButton
instance.ShowPrintButton = value
[CategoryAttribute("Toolbar")]
[DefaultValueAttribute(true)]
[SRDescriptionAttribute("ShowPrintButtonDesc")]
public bool ShowPrintButton { get; set; }
[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.WinForms 命名空間