WebViewControl.NavigationStarting Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An event that is triggered before the control navigates to new content.
For more info, see Windows.Web.UI.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
WebViewControl::NavigationStarting_revoker NavigationStarting(auto_revoke_t, TypedEventHandler<IWebViewControl, WebViewControlNavigationStartingEventArgs const&> const& handler) const;
public event TypedEventHandler<IWebViewControl,WebViewControlNavigationStartingEventArgs> NavigationStarting;
function onNavigationStarting(eventArgs) { /* Your code */ }
webViewControl.addEventListener("navigationstarting", onNavigationStarting);
webViewControl.removeEventListener("navigationstarting", onNavigationStarting);
- or -
webViewControl.onnavigationstarting = onNavigationStarting;
Public Custom Event NavigationStarting As TypedEventHandler(Of IWebViewControl, WebViewControlNavigationStartingEventArgs) Implements NavigationStarting