Compartilhar via


SystemMediaTransportControls.PropertyChanged Evento

Definição

Ocorre quando uma propriedade no SystemMediaTransportControls foi alterada.

// Register
event_token PropertyChanged(TypedEventHandler<SystemMediaTransportControls, SystemMediaTransportControlsPropertyChangedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
SystemMediaTransportControls::PropertyChanged_revoker PropertyChanged(auto_revoke_t, TypedEventHandler<SystemMediaTransportControls, SystemMediaTransportControlsPropertyChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<SystemMediaTransportControls,SystemMediaTransportControlsPropertyChangedEventArgs> PropertyChanged;
function onPropertyChanged(eventArgs) { /* Your code */ }
systemMediaTransportControls.addEventListener("propertychanged", onPropertyChanged);
systemMediaTransportControls.removeEventListener("propertychanged", onPropertyChanged);
- or -
systemMediaTransportControls.onpropertychanged = onPropertyChanged;
Public Custom Event PropertyChanged As TypedEventHandler(Of SystemMediaTransportControls, SystemMediaTransportControlsPropertyChangedEventArgs) 

Tipo de evento

Comentários

Use o valor Propriedade do evento SystemMediaTransportControlsPropertyChangedEventArgs para determinar qual propriedade foi alterada.

Aplica-se a