IWebViewControl.NavigationStarting イベント

定義

IWebViewControl が新しいコンテンツに移動する前に発生します。

// Register
event_token NavigationStarting(TypedEventHandler<IWebViewControl, WebViewControlNavigationStartingEventArgs const&> const& handler) const;

// Revoke with event_token
void NavigationStarting(event_token const* cookie) const;

// Revoke with event_revoker
IWebViewControl::NavigationStarting_revoker NavigationStarting(auto_revoke_t, TypedEventHandler<IWebViewControl, WebViewControlNavigationStartingEventArgs const&> const& handler) const;
event TypedEventHandler<IWebViewControl,WebViewControlNavigationStartingEventArgs> NavigationStarting;
function onNavigationStarting(eventArgs) { /* Your code */ }
iWebViewControl.addEventListener("navigationstarting", onNavigationStarting);
iWebViewControl.removeEventListener("navigationstarting", onNavigationStarting);
- or -
iWebViewControl.onnavigationstarting = onNavigationStarting;
Event NavigationStarting As TypedEventHandler(Of IWebViewControl, WebViewControlNavigationStartingEventArgs) 

イベントの種類

注釈

WebView ナビゲーション イベントは、次の順序で発生します。

同様のイベントは、WebView コンテンツ内の iframe ごとに同じ順序で発生します。

適用対象