Share via


ContentIsland.StateChanged Event

Definition

Occurs when a state property for this ContentIsland changes.

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

Event Type

Remarks

This event is raised asynchronously after all state changes. The event may be further delayed if there are state change deferrals (see ContentDeferral) to complete.

Applies to