ExpCoreWindowTopLevelHost.StateChanged Событие
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
// Register
event_token StateChanged(TypedEventHandler<IExpContentTopLevelHost, IInspectable const&> const& handler) const;
// Revoke with event_token
void StateChanged(event_token const* cookie) const;
// Revoke with event_revoker
ExpCoreWindowTopLevelHost::StateChanged_revoker StateChanged(auto_revoke_t, TypedEventHandler<IExpContentTopLevelHost, IInspectable const&> const& handler) const;
public event TypedEventHandler<IExpContentTopLevelHost,object> StateChanged;
function onStateChanged(eventArgs) { /* Your code */ }
expCoreWindowTopLevelHost.addEventListener("statechanged", onStateChanged);
expCoreWindowTopLevelHost.removeEventListener("statechanged", onStateChanged);
- or -
expCoreWindowTopLevelHost.onstatechanged = onStateChanged;
Public Custom Event StateChanged As TypedEventHandler(Of IExpContentTopLevelHost, Object) Implements StateChanged
Тип события
TypedEventHandler<IExpContentTopLevelHost,IInspectable>