WebView.FrameNavigationStarting
WebView.FrameNavigationStarting
WebView.FrameNavigationStarting
WebView.FrameNavigationStarting
Event
Definition
public : event TypedEventHandler<WebView, WebViewNavigationStartingEventArgs> FrameNavigationStarting
// Register
event_token FrameNavigationStarting(TypedEventHandler<WebView, WebViewNavigationStartingEventArgs> const& handler) const;
// Revoke with event_token
void FrameNavigationStarting(event_token const& cookie) const;
// Revoke with event_revoker
FrameNavigationStarting_revoker FrameNavigationStarting(auto_revoke_t, TypedEventHandler<WebView, WebViewNavigationStartingEventArgs> const& handler) const;
public event TypedEventHandler<WebView, WebViewNavigationStartingEventArgs> FrameNavigationStarting
Public Event FrameNavigationStarting As TypedEventHandler (Of WebView, WebViewNavigationStartingEventArgs)
<WebView FrameNavigationStarting="eventhandler"/>
Remarks
You can cancel navigation in a handler for this event by setting the WebViewNavigationStartingEventArgs.Cancel property to true.
WebView navigation events occur in the following order:
Similar events occur in the same order for each iframe in the WebView content:
- FrameNavigationStarting
- FrameContentLoading
- FrameDOMContentLoaded
- FrameNavigationCompleted
See also
Feedback
Loading feedback...