Freigeben über


ReportViewer.ShowPrintButton-Eigenschaft

Ruft einen Wert ab bzw. legt einen Wert fest, der angibt, ob die Schaltfläche Drucken auf der Symbolleiste angezeigt wird.

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

Syntax

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

value = instance.ShowPrintButton

instance.ShowPrintButton = value
[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)

Eigenschaftswert

Typ: System.Boolean
true , wenn die Schaltfläche Drucken auf der Symbolleiste angezeigt wird, andernfalls false. Der Standardwert ist true.

Siehe auch

Verweis

ReportViewer Klasse

Microsoft.Reporting.WebForms-Namespace