Frame.NavigationStopped 事件
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在当前导航正在进行时请求新导航时发生。
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" />