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