次の方法で共有


ReportViewer.PageNavigation イベント

ユーザーがレポート内のページを変更したときに発生します。

名前空間: Microsoft.Reporting.WinForms
アセンブリ: Microsoft.ReportViewer.WinForms (microsoft.reportviewer.winforms.dll 内)

構文

'宣言
Public Event PageNavigation As PageNavigationEventHandler
'使用
Dim instance As ReportViewer
Dim handler As PageNavigationEventHandler

AddHandler instance.PageNavigation, handler
public event PageNavigationEventHandler PageNavigation
public:
event PageNavigationEventHandler^ PageNavigation {
    void add (PageNavigationEventHandler^ value);
    void remove (PageNavigationEventHandler^ value);
}
/** @event */
public void add_PageNavigation (PageNavigationEventHandler value)

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

解説

このイベントは、ユーザーがレポート内のページを変更したときに発生します。このイベントに関する情報は、PageNavigationEventArgs オブジェクトによって、イベントを処理する PageNavigationEventHandler デリゲートに渡されます。

イベント処理の詳細については、「Consuming Events」を参照してください。

参照

リファレンス

ReportViewer クラス
ReportViewer メンバ
Microsoft.Reporting.WinForms 名前空間