共用方式為


ReportViewer.RenderingComplete 事件

發生在報表轉譯完成時。

命名空間: Microsoft.Reporting.WinForms
組件: Microsoft.ReportViewer.WinForms (在 microsoft.reportviewer.winforms.dll)

語法

'宣告
<SRDescriptionAttribute("RenderCompleteEventDesc")> _
Public Event RenderingComplete As RenderingCompleteEventHandler
'用途
Dim instance As ReportViewer
Dim handler As RenderingCompleteEventHandler

AddHandler instance.RenderingComplete, handler
[SRDescriptionAttribute("RenderCompleteEventDesc")] 
public event RenderingCompleteEventHandler RenderingComplete
public:
event RenderingCompleteEventHandler^ RenderingComplete {
    void add (RenderingCompleteEventHandler^ value);
    void remove (RenderingCompleteEventHandler^ value);
}
/** @event */
public void add_RenderingComplete (RenderingCompleteEventHandler value)

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

備註

這個事件發生在報表轉譯完成時。這個事件的相關資訊會在 RenderingCompleteEventArgs 物件中傳遞至 RenderingCompleteEventHandler 委託,由它來處理事件。

如需有關處理事件的詳細資訊,請參閱<Consuming Events>。

另請參閱

參考

ReportViewer 類別
ReportViewer 成員
Microsoft.Reporting.WinForms 命名空間