Hub.SectionsInViewChanged 事件
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
当 SectionsInView 集合更改时发生。
public:
virtual event SectionsInViewChangedEventHandler ^ SectionsInViewChanged;
// Register
event_token SectionsInViewChanged(SectionsInViewChangedEventHandler const& handler) const;
// Revoke with event_token
void SectionsInViewChanged(event_token const* cookie) const;
// Revoke with event_revoker
Hub::SectionsInViewChanged_revoker SectionsInViewChanged(auto_revoke_t, SectionsInViewChangedEventHandler const& handler) const;
public event SectionsInViewChangedEventHandler SectionsInViewChanged;
function onSectionsInViewChanged(eventArgs) { /* Your code */ }
hub.addEventListener("sectionsinviewchanged", onSectionsInViewChanged);
hub.removeEventListener("sectionsinviewchanged", onSectionsInViewChanged);
- or -
hub.onsectionsinviewchanged = onSectionsInViewChanged;
Public Custom Event SectionsInViewChanged As SectionsInViewChangedEventHandler
<Hub SectionsInViewChanged="eventhandler" />