ReportViewer.ShowPrintButton 屬性
發佈時間: 2016年4月
取得或設定值,這個值表示是否可以看到 [列印] 按鈕。
命名空間: Microsoft.Reporting.WinForms
組件: Microsoft.ReportViewer.WinForms (在 Microsoft.ReportViewer.WinForms.dll 中)
語法
public bool ShowPrintButton { get; set; }
public:
property bool ShowPrintButton {
bool get();
void set(bool value);
}
member ShowPrintButton : bool with get, set
Public Property ShowPrintButton As Boolean
屬性值
Type: System.Boolean
如果可以看到列印函式的按鈕,則為 true,否則為 false。預設為 true。
備註
受到這個屬性影響的按鈕包括列印、版面設定和預覽列印。
請參閱
ReportViewer 類別
Microsoft.Reporting.WinForms 命名空間
回到頁首