获取或设置一个指示**“打印”**按钮是否可见的值。
命名空间: Microsoft.Reporting.WinForms
程序集: Microsoft.ReportViewer.WinForms(在 Microsoft.ReportViewer.WinForms.dll 中)
语法
声明
Public Property ShowPrintButton As Boolean
Get
Set
用法
Dim instance As ReportViewer
Dim value As Boolean
value = instance.ShowPrintButton
instance.ShowPrintButton = value
public bool ShowPrintButton { get; set; }
public:
property bool ShowPrintButton {
bool get ();
void set (bool value);
}
member ShowPrintButton : bool with get, set
function get ShowPrintButton () : boolean
function set ShowPrintButton (value : boolean)
属性值
类型:System.Boolean
如果打印功能按钮可见,则为 true;否则为 false。默认值为 true。
注释
受此属性影响的按钮包括打印、页面设置和打印预览。