MediaTimelineController.PositionChanged Événement

Définition

Se produit lorsque la position de MediaTimelineController change.

// Register
event_token PositionChanged(TypedEventHandler<MediaTimelineController, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
MediaTimelineController::PositionChanged_revoker PositionChanged(auto_revoke_t, TypedEventHandler<MediaTimelineController, IInspectable const&> const& handler) const;
public event TypedEventHandler<MediaTimelineController,object> PositionChanged;
function onPositionChanged(eventArgs) { /* Your code */ }
mediaTimelineController.addEventListener("positionchanged", onPositionChanged);
mediaTimelineController.removeEventListener("positionchanged", onPositionChanged);
- or -
mediaTimelineController.onpositionchanged = onPositionChanged;
Public Custom Event PositionChanged As TypedEventHandler(Of MediaTimelineController, Object) 

Type d'événement

Remarques

Cet événement est déclenché par le système plusieurs fois par seconde pendant que la position de MediaTimelineController change.

S’applique à