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


ReportViewer.ReportExport Event

Occurs when the user clicks the Export button.

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

Syntax

'Declaration
Public Event ReportExport As ExportEventHandler
'Usage
Dim instance As ReportViewer
Dim handler As ExportEventHandler

AddHandler instance.ReportExport, handler
public event ExportEventHandler ReportExport
public:
event ExportEventHandler^ ReportExport {
    void add (ExportEventHandler^ value);
    void remove (ExportEventHandler^ value);
}
/** @event */
public void add_ReportExport (ExportEventHandler value)

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

Remarks

This event occurs when the user clicks the Export button, before the report is actually exported. Information about this event is passed in a ReportExportEventArgs object to the ExportEventHandler delegate, which handles the event.

For more information about handling events, see Consuming Events.

See Also

Reference

ReportViewer Class
ReportViewer Members
Microsoft.Reporting.WinForms Namespace