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