MediaPlaybackCommandManagerCommandBehavior.IsEnabledChanged Evento
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Ocorre quando o estado habilitado de um comando Controles de Transporte de Mídia do Sistema é alterado.
// 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 de evento
TypedEventHandler<MediaPlaybackCommandManagerCommandBehavior,Object>
TypedEventHandler<MediaPlaybackCommandManagerCommandBehavior,IInspectable>