Поделиться через


ContentIslandEnvironment.SettingChanged Событие

Определение

Происходит при изменении параметров в этом экземпляре.

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

Тип события

Применяется к