Frame.NavigationStopped 事件

定义

在当前导航正在进行时请求新导航时发生。

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" />

事件类型

适用于