MediaPlaybackCommandManagerCommandBehavior.IsEnabledChanged Evento
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Si verifica quando lo stato abilitato di un comando System Media Transport Controls cambia.
// Register
event_token IsEnabledChanged(TypedEventHandler<MediaPlaybackCommandManagerCommandBehavior, IInspectable const&> const& handler) const;
// Revoke with event_token
void IsEnabledChanged(event_token const* cookie) const;
// Revoke with event_revoker
MediaPlaybackCommandManagerCommandBehavior::IsEnabledChanged_revoker IsEnabledChanged(auto_revoke_t, TypedEventHandler<MediaPlaybackCommandManagerCommandBehavior, IInspectable const&> const& handler) const;
public event TypedEventHandler<MediaPlaybackCommandManagerCommandBehavior,object> IsEnabledChanged;
function onIsEnabledChanged(eventArgs) { /* Your code */ }
mediaPlaybackCommandManagerCommandBehavior.addEventListener("isenabledchanged", onIsEnabledChanged);
mediaPlaybackCommandManagerCommandBehavior.removeEventListener("isenabledchanged", onIsEnabledChanged);
- or -
mediaPlaybackCommandManagerCommandBehavior.onisenabledchanged = onIsEnabledChanged;
Public Custom Event IsEnabledChanged As TypedEventHandler(Of MediaPlaybackCommandManagerCommandBehavior, Object)
Tipo evento
TypedEventHandler<MediaPlaybackCommandManagerCommandBehavior,Object>
TypedEventHandler<MediaPlaybackCommandManagerCommandBehavior,IInspectable>