Dela via


Frame.NavigationStopped Event

Definition

Occurs when

a new navigation is requested while a current navigation is in progress.

public:
 virtual event NavigationStoppedEventHandler ^ NavigationStopped;
// Register
event_token NavigationStopped(NavigationStoppedEventHandler const& handler) const;

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

// Revoke with event_revoker
Frame::NavigationStopped_revoker NavigationStopped(auto_revoke_t, NavigationStoppedEventHandler const& handler) const;
public event NavigationStoppedEventHandler NavigationStopped;
function onNavigationStopped(eventArgs) { /* Your code */ }
frame.addEventListener("navigationstopped", onNavigationStopped);
frame.removeEventListener("navigationstopped", onNavigationStopped);
- or -
frame.onnavigationstopped = onNavigationStopped;
Public Custom Event NavigationStopped As NavigationStoppedEventHandler 
<Frame NavigationStopped="eventhandler" />

Event Type

Applies to