ReportViewer.ShowPrintButton Property

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

Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in microsoft.reportviewer.winforms.dll)

Syntax

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

value = instance.ShowPrintButton

instance.ShowPrintButton = value
[DefaultValueAttribute(true)] 
public bool ShowPrintButton { get; set; }
[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 buttons for the print functions are visible; otherwise, false. The default is true.

Remarks

The buttons affected by this property include print, page setup, and Print Preview.

See Also

Reference

ReportViewer Class
ReportViewer Members
Microsoft.Reporting.WinForms Namespace