ReportViewer.StatusChanged Event

Occurs whenever the user interface state of the ReportViewer control changes.

Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in microsoft.reportviewer.winforms.dll)

Syntax

'Declaration
Public Event StatusChanged As EventHandler(Of EventArgs)
'Usage
Dim instance As ReportViewer
Dim handler As EventHandler(Of EventArgs)

AddHandler instance.StatusChanged, handler
public event EventHandler<EventArgs> StatusChanged
public:
event EventHandler<EventArgs^>^ StatusChanged {
    void add (EventHandler<EventArgs^>^ value);
    void remove (EventHandler<EventArgs^>^ value);
}
/** @event */
public void add_StatusChanged (EventHandler<EventArgs> value)

/** @event */
public void remove_StatusChanged (EventHandler<EventArgs> value)
JScript supports the use of events, but not the declaration of new ones.

Remarks

This event can occur in response to method calls as well as background operations in the ReportViewer control, such as rendering a report page. Information about this event is passed in a EventArgs object to the EventHandler delegate, which handles the event.

It is useful to subscribe to this event when implementing your own toolbar or replacing portions of the built-in user interface.

For more information about handling events, see Consuming Events.

See Also

Reference

ReportViewer Class
ReportViewer Members
Microsoft.Reporting.WinForms Namespace