ReportViewer.ShowPrintButton Property
Gets or sets a value that indicates whether the buttons for the print functions are visible.
Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in microsoft.reportviewer.winforms.dll)
Syntax
'Declaration
<CategoryAttribute("Toolbar")> _
<DefaultValueAttribute(True)> _
Public Property ShowPrintButton As Boolean
'Usage
Dim instance As ReportViewer
Dim value As Boolean
value = instance.ShowPrintButton
instance.ShowPrintButton = value
[CategoryAttribute("Toolbar")]
[DefaultValueAttribute(true)]
public bool ShowPrintButton { get; set; }
[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 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