SemanticZoom.ViewChangeStarted 事件
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
请求视图更改时发生。
public:
virtual event SemanticZoomViewChangedEventHandler ^ ViewChangeStarted;
// Register
event_token ViewChangeStarted(SemanticZoomViewChangedEventHandler const& handler) const;
// Revoke with event_token
void ViewChangeStarted(event_token const* cookie) const;
// Revoke with event_revoker
SemanticZoom::ViewChangeStarted_revoker ViewChangeStarted(auto_revoke_t, SemanticZoomViewChangedEventHandler const& handler) const;
public event SemanticZoomViewChangedEventHandler ViewChangeStarted;
function onViewChangeStarted(eventArgs) { /* Your code */ }
semanticZoom.addEventListener("viewchangestarted", onViewChangeStarted);
semanticZoom.removeEventListener("viewchangestarted", onViewChangeStarted);
- or -
semanticZoom.onviewchangestarted = onViewChangeStarted;
Public Custom Event ViewChangeStarted As SemanticZoomViewChangedEventHandler
<SemanticZoom ViewChangeStarted="eventhandler" />