ContentIsland.StateChanged Événement
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Se produit lorsqu’une propriété d’état pour ce ContentIsland change.
// Register
event_token StateChanged(TypedEventHandler<ContentIsland, ContentIslandStateChangedEventArgs const&> const& handler) const;
// Revoke with event_token
void StateChanged(event_token const* cookie) const;
// Revoke with event_revoker
ContentIsland::StateChanged_revoker StateChanged(auto_revoke_t, TypedEventHandler<ContentIsland, ContentIslandStateChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<ContentIsland,ContentIslandStateChangedEventArgs> StateChanged;
function onStateChanged(eventArgs) { /* Your code */ }
contentIsland.addEventListener("statechanged", onStateChanged);
contentIsland.removeEventListener("statechanged", onStateChanged);
- or -
contentIsland.onstatechanged = onStateChanged;
Public Custom Event StateChanged As TypedEventHandler(Of ContentIsland, ContentIslandStateChangedEventArgs)
Type d’événement
Remarques
Cet événement est déclenché de façon asynchrone après toutes les modifications d’état. L’événement peut être plus retardé s’il existe des reports de modification d’état (voir ContentDeferral) à terminer.