SystemMediaTransportControls.PropertyChanged Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when a property on the SystemMediaTransportControls has changed.
// 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)
Event Type
TypedEventHandler<SystemMediaTransportControls,SystemMediaTransportControlsPropertyChangedEventArgs>
Remarks
Use the Property value of the event SystemMediaTransportControlsPropertyChangedEventArgs to determine which property has changed.