Udostępnij za pośrednictwem


ReportViewer.ShowRefreshButton Property

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

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

Syntax

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

value = instance.ShowRefreshButton

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

/** @property */
public void set_ShowRefreshButton (boolean value)
public function get ShowRefreshButton () : boolean

public function set ShowRefreshButton (value : boolean)

Property Value

true if the Refresh button is visible on the toolbar; otherwise, false. The default is true.

See Also

Reference

ReportViewer Class
ReportViewer Members
Microsoft.Reporting.WebForms Namespace