Поделиться через


ReportViewer.Toggle Event

Occurs when the user toggles the visibility of an item in the report.

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

Syntax

'Declaration
Public Event Toggle As CancelEventHandler
'Usage
Dim instance As ReportViewer
Dim handler As CancelEventHandler

AddHandler instance.Toggle, handler
public event CancelEventHandler Toggle
public:
event CancelEventHandler^ Toggle {
    void add (CancelEventHandler^ value);
    void remove (CancelEventHandler^ value);
}
/** @event */
public void add_Toggle (CancelEventHandler value)

/** @event */
public void remove_Toggle (CancelEventHandler value)
JScript supports the use of events, but not the declaration of new ones.

Remarks

This event occurs when the user toggles the visibility of an item in the report. Information about this event is passed in a ToggleEventArgs object to the ToggleEventHandler delegate, which handles the event.

For more information about handling events, see Consuming Events.

See Also

Reference

ReportViewer Class
ReportViewer Members
Microsoft.Reporting.WebForms Namespace