Frame.Navigated 事件

定义

当找到要导航到的内容并且可从 Content 属性获取时发生,尽管它可能尚未完成加载。

public:
 virtual event NavigatedEventHandler ^ Navigated;
// Register
event_token Navigated(NavigatedEventHandler const& handler) const;

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

// Revoke with event_revoker
Frame::Navigated_revoker Navigated(auto_revoke_t, NavigatedEventHandler const& handler) const;
public event NavigatedEventHandler Navigated;
function onNavigated(eventArgs) { /* Your code */ }
frame.addEventListener("navigated", onNavigated);
frame.removeEventListener("navigated", onNavigated);
- or -
frame.onnavigated = onNavigated;
Public Custom Event Navigated As NavigatedEventHandler 
<Frame Navigated="eventhandler" />

事件类型

适用于