Partager via


Propriété ReportViewer.ShowPrintButton

Indique si le bouton Imprimer doit être visible.

Espace de noms: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (dans microsoft.reportviewer.webforms.dll)

Syntaxe

'Déclaration
<SRDescriptionAttribute("ShowPrintButtonDesc")> _
<WebBrowsableAttribute(True)> _
<CategoryAttribute("ToolBar")> _
<DefaultValueAttribute(True)> _
Public Property ShowPrintButton As Boolean
'Utilisation
Dim instance As ReportViewer
Dim value As Boolean

value = instance.ShowPrintButton

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

Valeur de la propriété

Valeur Boolean. La valeur par défaut est true.

Voir aussi

Référence

Classe ReportViewer
Membres ReportViewer
Espace de noms Microsoft.Reporting.WebForms