SystemMediaTransportControls.PropertyChanged 事件
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
当 SystemMediaTransportControls 上的属性发生更改时发生。
// 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)
事件类型
TypedEventHandler<SystemMediaTransportControls,SystemMediaTransportControlsPropertyChangedEventArgs>
注解
使用事件 SystemMediaTransportControlsPropertyChangedEventArgs 的属性值来确定哪个属性已更改。