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