Udostępnij za pośrednictwem


ContentIslandEnvironment.SettingChanged Event

Definition

Occurs when settings have changed on this instance.

// Register
event_token SettingChanged(TypedEventHandler<ContentIslandEnvironment, ContentEnvironmentSettingChangedEventArgs const&> const& handler) const;

// Revoke with event_token
void SettingChanged(event_token const* cookie) const;

// Revoke with event_revoker
ContentIslandEnvironment::SettingChanged_revoker SettingChanged(auto_revoke_t, TypedEventHandler<ContentIslandEnvironment, ContentEnvironmentSettingChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<ContentIslandEnvironment,ContentEnvironmentSettingChangedEventArgs> SettingChanged;
function onSettingChanged(eventArgs) { /* Your code */ }
contentIslandEnvironment.addEventListener("settingchanged", onSettingChanged);
contentIslandEnvironment.removeEventListener("settingchanged", onSettingChanged);
- or -
contentIslandEnvironment.onsettingchanged = onSettingChanged;
Public Custom Event SettingChanged As TypedEventHandler(Of ContentIslandEnvironment, ContentEnvironmentSettingChangedEventArgs) 

Event Type

Applies to