MediaTimelineController.PositionChanged Событие

Определение

Происходит при изменении позиции MediaTimelineController .

// 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) 

Тип события

Комментарии

Это событие вызывается системой несколько раз в секунду при изменении позиции MediaTimelineController .

Применяется к