Share via


ReportViewer.ShowPrintButton Property

Gets or sets a value that indicates whether Print button is visible on the toolbar.

Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)

Syntax

'Declaration
<WebBrowsableAttribute(True)> _
<CategoryAttribute("ToolBar")> _
<DefaultValueAttribute(True)> _
Public Property ShowPrintButton As Boolean
'Usage
Dim instance As ReportViewer
Dim value As Boolean

value = instance.ShowPrintButton

instance.ShowPrintButton = value
[WebBrowsableAttribute(true)] 
[CategoryAttribute("ToolBar")] 
[DefaultValueAttribute(true)] 
public bool ShowPrintButton { get; set; }
[WebBrowsableAttribute(true)] 
[CategoryAttribute(L"ToolBar")] 
[DefaultValueAttribute(true)] 
public:
property 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)

Property Value

true if the Print button is visible on the toolbar; otherwise, false. The default is true.

See Also

Reference

ReportViewer Class
ReportViewer Members
Microsoft.Reporting.WebForms Namespace