ReportViewer.ShowPrintButton 属性

获取或设置一个指示**“打印”**按钮在工具栏上是否可见的值。

命名空间:  Microsoft.Reporting.WebForms
程序集:  Microsoft.ReportViewer.WebForms(在 Microsoft.ReportViewer.WebForms.dll 中)

语法

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

属性值

类型:Boolean
如果**“打印”**按钮在工具栏上可见,则为 true;否则为 false。默认值为 true。

请参阅

参考

ReportViewer 类

Microsoft.Reporting.WebForms 命名空间