Share via


ReportViewer.Toggle Event

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

Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in microsoft.reportviewer.winforms.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.

For more information about handling events, see Consuming Events.

See Also

Reference

ReportViewer Class
ReportViewer Members
Microsoft.Reporting.WinForms Namespace