Skip to main content
SystemMediaTransportControls.PropertyChanged | propertychanged event

Occurs when a property on the SystemMediaTransportControls has changed.

Syntax


function onPropertyChanged(eventArgs) { /* Your code */ }
 
// addEventListener syntax
systemMediaTransportControls.addEventListener("propertychanged", onPropertyChanged);
systemMediaTransportControls.removeEventListener("propertychanged", onPropertyChanged);
 
- or -

systemMediaTransportControls.onpropertychanged = onPropertyChanged;

public event TypedEventHandler<SystemMediaTransportControls, SystemMediaTransportControlsPropertyChangedEventArgs> PropertyChanged

Public Event PropertyChanged As TypedEventHandler(Of SystemMediaTransportControls, SystemMediaTransportControlsPropertyChangedEventArgs)

public:
event TypedEventHandler<SystemMediaTransportControls, SystemMediaTransportControlsPropertyChangedEventArgs>^ PropertyChanged {
   Windows::Foundation::EventRegistrationToken add(TypedEventHandler<SystemMediaTransportControls, SystemMediaTransportControlsPropertyChangedEventArgs>^ value);
   void remove(Windows::Foundation::EventRegistrationToken token);
}

Event information

Delegate TypedEventHandler<SystemMediaTransportControls, SystemMediaTransportControlsPropertyChangedEventArgs>

Remarks

Use the Property value of the event SystemMediaTransportControlsPropertyChangedEventArgs to determine which property has changed.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Media
Windows::Media [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Media
Windows::Media [C++]

Metadata

Windows.winmd

See also

SystemMediaTransportControls