Share via


ReportViewer.ShowToolBar Property

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

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

Syntax

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

value = instance.ShowToolBar

instance.ShowToolBar = value
[CategoryAttribute("Appearance")] 
[DefaultValueAttribute(true)] 
[WebBrowsableAttribute(true)] 
public bool ShowToolBar { get; set; }
[CategoryAttribute(L"Appearance")] 
[DefaultValueAttribute(true)] 
[WebBrowsableAttribute(true)] 
public:
property bool ShowToolBar {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_ShowToolBar ()

/** @property */
public void set_ShowToolBar (boolean value)
public function get ShowToolBar () : boolean

public function set ShowToolBar (value : boolean)

Property Value

A Boolean value. The default value is true.

See Also

Reference

ReportViewer Class
ReportViewer Members
Microsoft.Reporting.WebForms Namespace